VectorLinux
October 01, 2014, 02:07:13 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: 1 2 [3]
  Print  
Author Topic: Starting "awkward" programs, i.e. those that install into their own directories  (Read 14191 times)
Triarius Fidelis
Vecteloper
Vectorian
****
Posts: 2399


Domine, exaudi vocem meam


WWW
« Reply #30 on: May 15, 2007, 01:07:00 am »

Yes, that certainly might explain why the system execution call automatically recognizes your shell scripts.

For the sake of portability, it's best to add the opening line #!/bin/sh.
Logged

"Leatherface, you BITCH! Ho Chi Minh, hah hah hah!"

Formerly known as "Epic Fail Guy" and "Döden" in recent months
Pita
Vectorian
****
Posts: 1310


« Reply #31 on: May 15, 2007, 04:44:48 pm »

Yes, that certainly might explain why the system execution call automatically recognizes your shell scripts.

For the sake of portability, it's best to add the opening line #!/bin/sh.

Thanks!

will do in future and correct the old ones.

Regards
Logged
Triarius Fidelis
Vecteloper
Vectorian
****
Posts: 2399


Domine, exaudi vocem meam


WWW
« Reply #32 on: May 15, 2007, 07:42:04 pm »

More on binfmt_misc:

http://www.tat.physik.uni-tuebingen.de/~rguenth/linux/binfmt_misc.html
Logged

"Leatherface, you BITCH! Ho Chi Minh, hah hah hah!"

Formerly known as "Epic Fail Guy" and "Döden" in recent months
Pages: 1 2 [3]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!