schell / steeloverseer

A file watcher and development tool.
BSD 3-Clause "New" or "Revised" License
128 stars 15 forks source link

Make sos smarter about interactive processes #20

Closed mitchellwrosen closed 7 years ago

mitchellwrosen commented 7 years ago

Right now sos doesn't deal very well with commands that read on stdin (like some stack exec my-thing at the end of a list of commands).

Somehow, these interactive processes aren't actually killed right now, so sos both leaks pids and also subsequent runs compete for input from stdin.

mitchellwrosen commented 7 years ago

Ah, if a process spawns a child, that child isn't killed when a job is restarted.