I tried this:
but nothingCode:return system("sudo $PWD/ffxv_cheat_subproc.AppImage");
I tried this:
but nothingCode:return system("sudo $PWD/ffxv_cheat_subproc.AppImage");
"...a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are,in short, a perfect match.." Bill Bryson
Not quite what I was refering to but thanks, it does help me stop using system() at least, I was more on about a sub process that has a relative path, (I did try with ./ instead of $PWD) but when I tried it couldn't locate it despite me being able to find it in the same directory just fine
> (I did try with ./ instead of $PWD) but when I tried it couldn't locate it
Nor do the exec functions recognise shell variables.If the specified filename includes a slash character, then PATH is ignored, and the file at the specified pathname is executed.
Start with a full absolute pathname.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.