On Sun Nov 18 14:33:42 2012, MSCHILLI wrote:
Show quoted text> On Sun Nov 18 08:02:21 2012, CHORNY wrote:
> > Proc-Simple-1.31>perl -Mblib t/exit.t
> > 1..1
> > POSIX::setsid not implemented on this architecture at
> > Proc-Simple-1.31\blib\lib/Proc/Simple.pm line 250.
> > Terminating on signal SIGINT(2)
> > ls is not usually available on Windows
> > File::Spec->devnull(); is more portable than /dev/null
>
> Hi Chorny,
>
> there's a lot of Unix-isms in Proc::Simple, I'm surprised to hear it
> works at all on Windows. Does your perl on Windows support fork()
yes (emulated with ithreads)
http://perldoc.perl.org/perlfork.html
Show quoted text> or checking if a "process" is up via kill(0, pid)?
I think, yes.
"As in Unix, if $sig is 0 and the specified process exists, it returns
true without actually terminating it. (Win32)" -
http://perldoc.perl.org/perlport.html#Interprocess-Communication-%28IPC%29
--
Alexandr Ciornii,
http://chorny.net