By copying into RAM i mean I have the executable on an external drive. I copy it into the /opt directory, which I assume is in RAM.
i actually can run it now, by specifying the full path. thanks for that tip. I thought If i was in the directory ( cd /opt) i could run it from the filename. I hadnt thought of using the full path.
However, I'm back to my original problem. I type "sudo /opt/filename" and the program runs, but my shutdown button only closes the app but doesn't do shutdown.
If it's any help, in the terminal window, when the program exits i get a message
init: must be run as PID 1