herby1620 has asked for the wisdom of the Perl Monks concerning the following question:
And go from there. Well, I'm in (Yuck!) Win32 and that doesn't work, thus the question. Oh, yes I'd like the sub process to get specific file descriptors that I specify like the example above. This may be the hard part. Eventually I'll wait for the process to end, and that may be another call. Yes, I'm using XP/2000/NT (not 95/98/Me), because they are the ones that can have tasks like this.system "ls -l 2>Xerr >Xout &";
Update...... Well, I tried:
and that works, BUT... Windows desires to put up an empty command window (yuck!) and there is a rare instance where I might want to abort 'program'. What to do now? Also, where is the "system 1," thing documented? I also tried the "start /b" goodie, but it put up a command window as well. The information so far will allow me to do my deeds, but (as usual) I need a bit more (*SIGH*).system 1, "program 2>Xerr >Xout";
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Async execution in Win32
by ikegami (Patriarch) on Mar 15, 2006 at 01:21 UTC | |
by BrowserUk (Patriarch) on Mar 15, 2006 at 02:15 UTC | |
by ikegami (Patriarch) on Mar 15, 2006 at 02:44 UTC | |
Re: Async execution in Win32
by adamk (Chaplain) on Mar 15, 2006 at 10:29 UTC |