This is the mail archive of the
mailing list for the Cygwin project.
Re: Perl system() function works sometimes.
- From: Reini Urban <rurban at x-ray dot at>
- To: Gary E Barnes <gebarnes at us dot ibm dot com>
- Cc: cygwin at cygwin dot com
- Date: Mon, 30 Jan 2012 17:02:41 -0600
- Subject: Re: Perl system() function works sometimes.
- Authentication-results: mr.google.com; spf=pass (google.com: domain of email@example.com designates 10.216.131.234 as permitted sender) firstname.lastname@example.org; dkim=pass email@example.com
- References: <201201272150.q0RLoW6A030621@fumar.sanjose.ibm.com> <CAHiT=DH+CZAxXZn3bBF3fFnU-HNaC=jzs9VnKAtAQi+MpGwOvw@mail.gmail.com> <OFC255D9D8.B30A86FF-ON88257995.00614BDA-88257995.0061923D@us.ibm.com>
On Mon, Jan 30, 2012 at 11:45 AM, Gary E Barnes wrote:
> I have tried perlrebase and also rebaseall. ?I tried deleting cygwin from
> the machine and reinstalling from scratch.
> None of that fixes the problem. ?If it is some sort of rebase problem then
> the usual tools don't fix it.
> And from what you said about calling execve when there are no interesting
> shell redirections, it would appear
> that perl calling system() simply doesn't work at all for some reason.
Yes, it failed with a rebaseall-related fork failure because you used system
with the system sh-wrapper. If you call it as list you wouldn't see this error.
Yes, Calling perl within perl within perl will lead to memory conflicts.
This a known problem we will have to live for a while unfortunately.
There's not enough DLL space. Even less the more apps are loaded.
Yes, this is fragile.
That's why I recommended not to use system with strings.
http://cpanel.net/ ? http://www.perl-compiler.org/
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple