Comments (3)
Usually if you build a one-time command through kommand, when the parent process ends, the pid 1 process will take over the zombie process and execute wait for them. It is a lazy approach not to call wait in the demo.
from kommand.
if the parent ends before child, yes. But kommand would have been a toy, just to call a process and exit. The proper case would be to launch a child command, and do something else, until it's time to launch another command again.
In this case the system will be flooded with zombie processes.
from kommand.
need wait after readLines
from kommand.
Related Issues (16)
- Ktor IO dependency should be an `api` dependency HOT 10
- FR: Add timeout option HOT 3
- lines() doesn't properly handle stream HOT 3
- FR: Support LInuxArm(64) target? HOT 4
- cwd Doesn't seem to work (at least on Linux) HOT 3
- Q: LICENSE HOT 1
- Add support for varargs command arguments HOT 1
- Error when adding dependency
- Thank you!!
- Pipe stdout of first command to a second command HOT 2
- mingwX64 not wrking HOT 3
- Weird currentReadLine usage in `lines` method of `Reader` HOT 4
- Remove Main.kt files HOT 1
- Get exit code AND output at the same time HOT 5
- Unable to add as dependency? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kommand.