RE: Can't fork using open

2003-03-05 Thread Smith Jeff D
4:09 PM To: '[EMAIL PROTECTED]' Subject: RE: Can't fork using open > > I just test ran the below and it worked fine. I am running > Win2k Pro, AS Perl 5.6.1 build 630: > code adapted from the perlipd doc > -- > $parent = $$; > print "parent: $pare

RE: Can't fork using open

2003-03-05 Thread Kipp, James
> That was what I found out and why I chose to use > Win32::Process so that > interactive sessions/commands could be spawned without > leaving the Perl > module in the lurch. Try it, you'll like it. > yes i have used that module in the past as well. I was just trying to see if it could be do

RE: Can't fork using open

2003-03-05 Thread Kipp, James
> > I just test ran the below and it worked fine. I am running > Win2k Pro, AS Perl 5.6.1 build 630: > code adapted from the perlipd doc > -- > $parent = $$; > print "parent: $parent\n"; > $pid = open(STATUS, "netstat -an 2>&1 |") || die "can't fork: $!"; > while () { > #next if /^(tcp|

RE: Can't fork using open

2003-03-05 Thread Kipp, James
> > > > No, but given that a lot of work has been put into ithreads in V5.8 > > to make threading platform-independent (or at least functional on > > Windows) I'm surprised that a language feature like this hasn't been > > implemented. As well as that I can see nowhere in the docs > > where it men

Re: Can't fork using open

2003-03-05 Thread david
Vyacheslav Nadvorny wrote: > I tried to run perlopentut example for STDOUT processing > but got just this: > > =Beginning of the citation== > '-' is not recognized as an internal or external command, > operable program or batch file. > > =The end of the citation==

RE: Can't fork using open

2003-03-05 Thread Kipp, James
> > Not sure if you got an answer to this, but you can not fork opens in > > Win32 does not work like unix. > > No, but given that a lot of work has been put into ithreads in V5.8 > to make threading platform-independent (or at least functional on > Windows) I'm surprised that a language feature l

Re: Can't fork using open

2003-03-05 Thread Rob Dixon
James Kipp wrote: > > =Beginning of the citation== > > '-' is not recognized as an internal or external command, > > operable program or batch file. > > > > =The end of the citation > > > > I use windows xp, activestate perl build 804. > > > > Can anyone

RE: Can't fork using open

2003-03-05 Thread Kipp, James
> > =Beginning of the citation== > '-' is not recognized as an internal or external command, > operable program or batch file. > > =The end of the citation > > I use windows xp, activestate perl build 804. > > Can anyone explain why I'm getting this e