J jpopop macrumors newbie Original poster Jun 23, 2011 6 0 Jul 19, 2011 #1 The progress use system() function to run shell "open -a xx.app", it return "permisson denied" on 10.7, but it work well on 10.6. BTW, after modification shell command "sudo -u username open -a xx.app", it works. why?!
The progress use system() function to run shell "open -a xx.app", it return "permisson denied" on 10.7, but it work well on 10.6. BTW, after modification shell command "sudo -u username open -a xx.app", it works. why?!