Hi Kai, Thanks. Yes, I came to realize that myself. Since I didn't see a fork in std.process, I assumed it was different from the POSIX semantics.
Thanks, Tarun On Mon, Apr 4, 2011 at 8:32 PM, Kai Meyer <[email protected]> wrote: > On 04/03/2011 07:31 AM, Tarun Ramakrishna wrote: >> >> Hi, >> >> Apparently std.process.exec (D2.052/windows) doesn't work the way the >> documentation describes. It terminates the parent process. Is there a >> way to keep the parent process open in D ? I also vaguely remember >> seeing some mails on this list about an improved process library in D. >> >> Any tips appreciated, >> Thanks, >> Tarun > > I think exec is meant to replace the current running process with the new > one. I think the one you want is either "shell" or "system". > http://www.digitalmars.com/d/2.0/phobos/std_process.html >
