Re: 2 successive commands in one shell_exec?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Oct 20, 2008 at 9:16 PM, Govinda <govinda@xxxxxxxxxxxxx> wrote:
> I mean I need to do that, and so with my very newbie level of understanding
> I think I need to have that shell_exec essentially do 2 things at once:
> -goto the right dir, and then
> -fire the script in that dir.
> like these 2 successive commands in terminal:
> cd $MyPath
> ./MyOtherCGI.cgi

cd $MyPath && ./MyOtherCGI.cgi

or you maybe using full path:

$MyPath/MyOtherCGI.cgi

-- 
Saludos
Oscar

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux