Billiken Posted August 25, 2010 Share Posted August 25, 2010 I want to do something like the following: exec('open /Applications/Safari.app'); I can run exec on other commands like: $output = exec('ls -ll); echo $output; And I can run the open command via Terminal, but I can't seem to run the open command via a PHP page using exec(). I've tried the permissions of the .app file at 777 and the open binary at 777. Any suggestions? Link to comment https://forums.phpfreaks.com/topic/211724-exec-with-mac-open-command/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.