Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Specifying a shell for use with Backticks

by bigmacbear (Monk)
on Apr 12, 2006 at 17:20 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://542899]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (4)
As of 2024-04-25 04:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found