[xubuntu-users] How to run script/program from C program using Geany
xubuntu-users at beardygnome.co.uk
Thu May 26 08:21:57 UTC 2011
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
On 24 May 2011 12:46, sam <asu_mcs at 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
> It runs fine and I get the right result.
> 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 at lists.ubuntu.com
> Modify settings or unsubscribe at:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the xubuntu-users