LinuxSA Mailing list archives
Index:
[thread]
[date]
[subject]
[author]
[stats]
From: Andrew Hill <list@fornax.net>
To : <jake@infinitylimited.net>
Date: Mon, 05 Feb 2001 13:08:01 +1030
Re: Expect script called from PHP
Jake Hawkes wrote:
> you could also set the values of PS1,PS2 and PS3. Set them to something
> plain to avoid getting those escape codes. I havn't looked, but can you
> tell PHP what environments variables to set when running a shell
> command?
Not AFAIK, but this still wouldn't help, as the first thing the expect
script I am running does it to ssh into another machine - where it
starts the default shell.
I suppose I could create a new user with the required permissions and
desired shell settings, but hey, what I've got works enough for the
moment, and there are other more important tasks to be done first :-)
Thanks.
Cheers,
--
Andrew Hill
"Right now, I'd happily snort gunk from the sink if it would take
my brain somewhere away from here...." - JB
--
LinuxSA WWW: http://www.linuxsa.org.au/ IRC: #linuxsa on irc.linux.org.au
To unsubscribe from the LinuxSA list:
mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject
Index:
[thread]
[date]
[subject]
[author]
[stats]
Return to the LinuxSA Mailing List Information Page