Hi!
If I create a script:
#!/bin/sh
cd /mydir
./runme
This should execute the file "runme", but it brings up a text editor instead. The file attributes are read,write, and execute on both the script and the executable.
If I click the file, it pops up in a text editor, and if I type "./myscript" in the shell - it runs fine.
Is the GUI not POSIX compatible?? Why is it ignoring the fact that the file is exeutable? It should run when clicked... should it not?
Thanks in advance!
-=//-\drian Thompson=-
If I create a script:
#!/bin/sh
cd /mydir
./runme
This should execute the file "runme", but it brings up a text editor instead. The file attributes are read,write, and execute on both the script and the executable.
If I click the file, it pops up in a text editor, and if I type "./myscript" in the shell - it runs fine.
Is the GUI not POSIX compatible?? Why is it ignoring the fact that the file is exeutable? It should run when clicked... should it not?
Thanks in advance!
-=//-\drian Thompson=-