develooper Front page | perl.perl5.porters | Postings from February 2015

Re: [perl #123775] Args to 'system' not evaluated before forking,making $$ wrong

Thread Previous | Thread Next
From:
Tony Cook
Date:
February 17, 2015 10:58
Subject:
Re: [perl #123775] Args to 'system' not evaluated before forking,making $$ wrong
Message ID:
20150217105733.GH15359@mars.tony.develop-help.com
On Mon, Feb 16, 2015 at 09:23:51AM -0800, Chris Wagner via RT wrote:
> On Sat Feb 14 17:10:11 2015, LeonT wrote:
> > I would still expect that to run into pseudothreads on Windows, but I
> > haven't tested either version on Windows yet.
> > 
> > Leon
> 
> The problem on Windows is likely masked by the pseudo-fork.  It prints the "right pid".  I verified that two Perl processes get made with the right pids in TaskInfo.

system() on Win32 doesn't use fork() of any sort.

Tony

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About