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
> 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
>
> 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|
> >
> > 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
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==
> > 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
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
>
> =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