Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Specifying a shell for use with Backticks

by bigmacbear (Monk)
on Apr 12, 2006 at 17:20 UTC ( #542899=note: print w/replies, xml ) Need Help??


in reply to Specifying a shell for use with Backticks

I had a similar problem with a Makefile a long time ago. Make used whatever shell was in the user's environment rather than defaulting to a /bin/sh-like shell, and everybody used /bin/csh at the site. So I had to explicitly set $SHELL to /bin/sh in the Makefile.

Extrapolating to Perl, have you tried explicitly setting $ENV{'SHELL'}=/bin/sh before running your backticks?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2021-04-13 09:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?