[xubuntu-users] How to run script/program from C program using Geany

sam asu_mcs at yahoo.com
Tue May 24 11:46:12 UTC 2011


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     
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/xubuntu-users/attachments/20110524/4f12bfde/attachment.html>


More information about the xubuntu-users mailing list