[PHP-DB] RE: how can I execute bash file by using exec or system

2005-12-23 Thread Jim McDonald
Try exec('source /path/test.sh'); -jim -Original Message- From: Murat Beyhan [mailto:[EMAIL PROTECTED] Sent: Friday, December 23, 2005 1:42 AM To: php-db@lists.php.net Subject: how can I execute bash file by using exec or system hello, I try to execute bash script file by using

[PHP-DB] RE: how can I execute bash file by using exec or system

2005-12-23 Thread Jim McDonald
Oops, my bad. I thought you were trying to launch a .bashrc file. I've had my second cup of coffee, and I am feeling better, thank you. More likely than not your PHP path does not include the path to bash, or your test.sh script does not have the correct path to bash in it. Otherwise, it is