delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/06/24/02:42:44

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <12F176DD950ED411B68E0050DA14ED10338890@jupiter.gunzphoto.com.au>
From: Neil Lunn <neillunn AT gunz DOT com DOT au>
To: "'Brian Jepson'" <bjepson AT oreilly DOT com>, cygwin AT cygwin DOT com
Subject: RE: 1.3.2: Perl script called via system() uses Windows filenames
Date: Sun, 24 Jun 2001 16:44:29 +1000
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2448.0)

>-----Original Message-----
>From: Brian Jepson [mailto:bjepson AT oreilly DOT com]
>Sent: Saturday, June 23, 2001 10:05 AM
>To: cygwin AT cygwin DOT com
>Subject: Re: 1.3.2: Perl script called via system() uses Windows
>filenames
>
>
>
>The attached patch (against perl-5.6.1-1-src.tar.gz from the 
>contrib/perl
>directory) fixes this problem.  Without the patch, pp_system would use
>either do_aspawn() or do_spawn() instead of vfork().

Whick will actually be fork. But thanks, point taken. It would be greatly
appreciated if you sent this to p5p.

Thanks,
Neil


>
>Cheers,
>
>Brian
>
>
>On Fri, 22 Jun 2001, Brian Jepson wrote:
>
>> Hi,
>> 
>> I'm running cygwin 1.3.2 on Windows 2000.  I have one script 
>that wants to
>> call another using system().  When I do this, the second 
>script switches
>> into using Windows filenames.  Here is the  first script:
>> 
>>   #!/usr/bin/perl
>>   system("/home/Administrator/foo.pl");
>> 
>> and the second script:
>> 
>>   #!/usr/bin/perl
>>   print $0, "\n";
>> 
>> The output I get when I run /home/Administrator/foo.pl is:
>> 
>>   /home/Administrator/foo.pl
>> 
>> However, when I run the first script, I get this:
>> 
>>   C:\cygwin\home\Administrator\foo.pl
>> 
>> 
>> Thanks,
>> 
>> Brian
>> 
>> 
>> 
>> 
>

__________________________________________________________________________
Please Note :
Only  the intended recipient is authorised to access or use this e-mail.  If
you are not the intended recipient,
please delete this e-mail and notify the sender immediately.   The contents
of this e-mail are the writer's 
opinion and are not necessarily endorsed by the Gunz Companies unless
expressly stated.

We use virus scanning software but exclude all liability for viruses or
similar in any attachment.



--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019