Re: spawnProcess() not child?

2014-11-03 Thread Bauss via Digitalmars-d-learn
Is there nobody that knows a solution? :(

Re: spawnProcess() not child?

2014-11-03 Thread via Digitalmars-d-learn
On Sunday, 2 November 2014 at 00:59:43 UTC, Bauss wrote: Is there a way to spawn a process that won't be a child process, because I can't seem to kill any processes created with spawnProcess() It keeps giving me access denied for the processes and it's necessary for me to kill a process,

Re: spawnProcess() not child?

2014-11-03 Thread angel via Digitalmars-d-learn
The parent / child relationship always exists. In POSIX OSs, you may ignore SIGCHLD signal (announcing child process death), so that in case of child process exit it will not become zombie, rather it will be disposed on the spot. As a side note, in Linux, there exist a system call allowing

Re: spawnProcess() not child?

2014-11-03 Thread Steven Schveighoffer via Digitalmars-d-learn
On 11/3/14 6:34 AM, angel wrote: The parent / child relationship always exists. In POSIX OSs, you may ignore SIGCHLD signal (announcing child process death), so that in case of child process exit it will not become zombie, rather it will be disposed on the spot. As a side note, in Linux, there

Re: spawnProcess() not child?

2014-11-03 Thread Sean Kelly via Digitalmars-d-learn
On Monday, 3 November 2014 at 14:09:21 UTC, Steven Schveighoffer wrote: From OP's code, he is on Windows. I believe on Windows you have to sort out some kind of permissions to terminate a process. No idea if std.process does this, but it sounds like probably not.

spawnProcess() not child?

2014-11-01 Thread Bauss via Digitalmars-d-learn
Is there a way to spawn a process that won't be a child process, because I can't seem to kill any processes created with spawnProcess() It keeps giving me access denied for the processes and it's necessary for me to kill a process, compile it and then spawn it again. Currently what I do is