Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Manually specifying the shell

Reply
Thread Tools

Manually specifying the shell

 
 
Adam Preble
Guest
Posts: n/a
 
      03-17-2005
I have a problem with the default shell and Perl. We have a Solaris
machine here that I believe uses the Bourne shell by default, and
everything is written for it in that. However, Perl defaults to sh.
This leads to some conflicts when setting environment variables and such
in a separate script. There are ways around it by rewriting the script,
but I was wondering if the shell could just be changed in Perl.

I know on Win32, there's a PERL5SHELL environment variable, but that
doesn't help me on UNIX variants--specifically between Linux and
Solaris. Is there a way?
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using subprocess module to launch a shell shell script that itselfforks a process Samuel A. Falvo II Python 0 10-08-2008 12:43 AM
Re: How to pass shell variable to shell script from python D'Arcy J.M. Cain Python 0 02-27-2008 01:56 PM
Re: How to pass shell variable to shell script from python Gerardo Herzig Python 1 02-27-2008 12:19 PM
Re: How to pass shell variable to shell script from python Christian Heimes Python 0 02-27-2008 10:53 AM
can I run unix shell command in the ModelSim shell? clinton__bill@hotmail.com VHDL 2 02-18-2005 10:04 PM



Advertisments