Hi group,
Is there a way to return from a system call before the call completes?
Here is a simple script:
Code:
#!/usr/bin/php
<?php
function Plot($Data) {
system( "display -immutable $Data &" );
echo "System call done\n";
return;
}
Plot("/usr/share/icons/crystalsvg/128x128/mimetypes/source_php.png");
echo "Done\n";
?>
The call to display does not return until the window is closed.