How to run script/program from C program using Geany
I think this might be because you are running Geany, and therefore the shell process, as yourself rather than root (as you should be!), so you don't have permission to access /bin/. *As for a solution, I'm afraid I can't help there, sorry.
Philbeardygnome.co.uk On 24 May 2011 12:46, sam <asu_mcs@yahoo.com> wrote: I have a C executable program (test.out) to perform a test on a specific image format. When I run it from the terminal: ./test.out* ../absolute path/filename.jpg It runs fine and I get the right result. BUT: When I try to run it from a another C Program using Geany*: System("/bin/ *./test.out* ../absolute path/filename.jpg "); * I get an error during execution time: sh:/bin/: Permission denied**** -- xubuntu-users mailing list xubuntu-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/xubuntu-users -- xubuntu-users mailing list xubuntu-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/xubuntu-users |
| All times are GMT. The time now is 03:04 PM. |
VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.