Hi
I am calling a python script using popen. as follows
$handle = popen(" python input1.py ", 'r');
echo "'$handle'; " . gettype($handle) . "\n";
$read = fread($handle, 2096);
echo "Read is:".$read;
I am getting output as
'Resource id #1'; resource Read is:
ie.The output is not getting read.
My python script uses the module defined by another python script.
When i run this from the command line as
python input1.py i get the required output.
Could you tell me why this is happening?
Cheers
Krishna