473,560 Members | 2,965 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Manually specifying the shell

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?
Jul 19 '05 #1
0 2298

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

by: Laura P | last post by:
Hi, I wasn't sure whether this should be posted in the Java are or in a Solaris thread, so I shall post it in both. Sorry for the duplication. I am new to Solaris and am having trouble running a long Java command from a shell script. Firstly, my Solaris (8) / Java setup. Mu machine already had Java 1.2
by: Jacek Generowicz | last post by:
Is there a way of specifying the shell in which os.system commands are executed? Is there a way of specifying what startup scripts should be read? On systems where this makes sense, of course.
by: Rob | last post by:
I'm running a batch file using the Shell function. When I manually launch the batch file, the window remains open, since I use the 'pause' statement. But when I launch the batch file within Access, the Shell window becomes a blip on the screen and then is gone. Why does the Shell window not stay open on the screen? I want to visually...
by: tripyre | last post by:
I recently resolved an issue I had with passing a variable to a call shell command, but now I need it to pause or leave the window open so I can manually close it. Below is my code, and I am not sure where to begin to keep the DOS window from closing. Dim stAppName As String Dim stIPAddress As String stAppName =...
by: nadz | last post by:
hey guys, I know bit of C++. I have installed Microsoft Visual C++ 2005 express. First of all tell me if it is of any use ? My other question is that I am trying to execute this command ShellExecute(NULL, "open","C:\Programme\VideoLAN\VLC\vlc.exe", NULL, NULL, SW_SHOWNORMAL) but it gives me error Such as C3861 Shell Execute identifier...
by: David Kanter | last post by:
Hi, I have some VB scripts which start by opening an application, in this case it is a game called FEAR (some of you may be familiar). I am using Visual Studio 2005 Professional Edition running on Windows XP x64. I am using the script on the same system. I can open FEAR manually on the system; I just double click the short cut and...
by: Micheline | last post by:
How do I change the date or time field of the timedate control panel using the shell command (without displaying the applet). For example, I can change the timezone by specifying "control.exe timedate.cpl,,/Z" & StandardName where StandardName is the selected zone name. I would like to do the same thing for date or time. Is it possible? ...
by: Lobb[cz] | last post by:
Hi. I have a problem with running application from windows form application (VB.NET). I'm using Call Shell(path, AppWinStyle.NormalFocus, False) but I need to define working directory 2 (in WinXP shortcuts it's "Start in:" textbox). Any idea how to do that? Thx :)
by: Svenn Are Bjerkem | last post by:
Hi, as a user on a linux system I am member of the groups "users" and "design" with users as my default group. To controll the accessibility of some parts of the file system, creation of files and directories in those parts must be done with group "design". This is currently done manually with "newgrp design" on the command line before doing...
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.