xilun / cbwin

Launch Windows programs from "Bash on Ubuntu on Windows" (WSL)
Other
327 stars 25 forks source link

manage Win32 processes using Jobs #10

Closed xilun closed 8 years ago

xilun commented 8 years ago

for a more proper suspend and termination support

See Job Objects and Job Object Functions on MSDN.

Note: process should be created suspended, then put in the job, then resumed, otherwise there is a risk of a race where newly created processes could spawn others before being put in the job...

xilun commented 8 years ago

done for termination, in progress (already works well in most cases) for suspend/resume

xilun commented 8 years ago

ok with d55f15f