Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re: find the shell inside a perl script

by Fletch (Bishop)
on Jun 22, 2006 at 16:12 UTC ( #556935=note: print w/replies, xml ) Need Help??

in reply to find the shell inside a perl script

You need to step back and say what you're trying to accomplish.

If you want some commands to run with a specific shell, explicitly run that shell.

If this is something that's output is being fed back to a parent shell (e.g. you're sourcing the output from it to set environment variables) the way I've seen most things behave is to presume the shell is Borne-ish unless a flag (say, -c) is given on the command line (in which case it spits out csh-y output).

  • Comment on Re: find the shell inside a perl script

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2023-06-06 16:28 GMT
Find Nodes?
    Voting Booth?
    How often do you go to conferences?

    Results (29 votes). Check out past polls.