Code: Select all
if(system("python /Volumes/code/code/_sendrender/_outputstatus.py")) {
echo "yes";
} else {
echo "no";
}The strange thing is, this works:
Code: Select all
if(system("python -h")) {
echo "yes";
} else {
echo "no";
}Does anyone know what's going on? How can I capture the result?