Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: system command erroneously states 'can't spawn <executable>'

by jimbojones (Friar)
on Feb 25, 2005 at 16:32 UTC ( [id://434551]=note: print w/replies, xml ) Need Help??


in reply to Re: system command erroneously states 'can't spawn <executable>'
in thread system command erroneously states 'can't spawn <executable>'

Hi

According to the source (win32.c), COMSPEC isn't called ...
/* we don't use COMSPEC here for two reasons: * 1. the same reason perl on UNIX doesn't use SHELL--rampant and * uncontrolled unportability of the ensuing scripts. * 2. PERL5SHELL could be set to a shell that may not be fit for * interactive use (which is what most programs look in COMSPE +C * for). */
I don't really understand the second point ...

- jim
  • Comment on Re^2: system command erroneously states 'can't spawn <executable>'
  • Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://434551]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2024-04-19 22:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found