With tcsh I just use backticks (below the tilde) because it's simple and reliable and no worry about resources and they are not repetitive tasks and I don't care if Santa brings me anything. So:
`cp thisfile thatfile`; ....bing, done. Cron for example, a scheduled task, can start the script and then for some ungodly reason doesn't seem to know where it is, probably defaulting back to my user root, so I wind up with a first line like: `cd /u/ghawk/the/location/of/the/script/you/just/ran/dummy`; But there are those who would scold me for it, and probably will be some with a fine recommendation or two about the more proper ways to do things. Till then, backtick to your heart's content. /g > -----Original Message----- > From: Mark-Nathaniel Weisman [mailto:[EMAIL PROTECTED]] > Sent: Saturday, December 22, 2001 10:32 PM > To: [EMAIL PROTECTED] > Subject: Calling a shell from a perl script. > > > -----BEGIN PGP SIGNED MESSAGE----- > > Hello all, > I'm writing a common gateway interface that will call I need to > issue several shell commands. > (cp, cd, and cd .., and maybe others). Any assistance would be > greatly appreciated. How can a call a shell other than bash. > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]