Re: stil having Linux problems
- Posted by Irv Mullins <irvm at ellijay.com> Feb 13, 2001
- 442 views
On Tue, 13 Feb 2001, you wrote: > the #!/home/..... command isn't working. And the following functions > aren't working either. chdir(), system(),system_exec() > any ideas? I've bee working on this for 9 hours straight now. If you installed Euphoria per the instructions found in install.doc, then you should be able to run any file you own which has the first line of #!/home/irv/euphoria/bin/exu -- replace the "irv" with your user name in this and the following: provided that execute permission is set on the file. chmod 777 myfile.exu will do that. Verify that things have been set up properly by typing echo $PATH and see if /home/irv/euphoria/bin appears in that path list, then type echo $EUDIR and you should see /home/irv/euphoria Try this test: include file.e ? chdir("/home/irv/euphoria/doc") system("ls -l",0) You should see : 1 Press Enter... Do that, and you should see a listing of the Euphoria doc files. Once the program ends, however, you will NOT be left in the /home/irv/euphoria/doc directory. You'll be back where you started. This is normal. Regards Irv