Re: Php and Python
| From: | Yasuo Ohgaki | Date: | Fri, 12 Oct 2001 20:53:50 +0000 |
| Subject: | Re: Php and Python | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-70952@lists.php.net to get a copy of this message | ||
I'm not sure what you really want to do. Anyway,
try something like
system("some_command > /dev/null 2>&1 &");
BTW, is your python script ok? (Make sure it returns to shell)
Yasuo Ohgaki
Mihailo Dzigurski wrote:
Hello, I have problem with executing python script from php. Python script is executed with system function from php and after that browser is locked out. When I restart IE everything is ok. This happens every time. Code fragment:system($python_path . " " . $install_path . "/monitor.py &");Is there any better solution for this? Thanks, Misa. _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com