multiple commands in same sys call
| From: | Dennis Gearon | Date: | Thu, 26 Jul 2001 16:37:45 +0000 |
| Subject: | multiple commands in same sys call | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-59781@lists.php.net to get a copy of this message | ||
Is it possible to do multiple commands in a 'system' or 'exec' call, like if I
were force feeding that function a shell script?
I.E.
ssh-agent pass phrases blah blah
scp filenames, hosts, etc, blah, blah
all in one shell so that the ssh-agent gets called by scp?
<as a funny aside, I guess my spell checker thinks like I do>
<it didn't under stand 'ssh-agent', so it suggested 'shaggiest' and
'shagging'>