help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

executable scripts and arguments


From: Dupuis
Subject: executable scripts and arguments
Date: Mon, 8 Feb 2010 05:20:06 -0800 (PST)

Hello,

I'm "hit" by the "shebang" expansion problem as explained at
http://www.in-ulm.de/~mascheck/various/shebang/#details, that is, I created
a stand alone octave script with as first line
#!/usr/bin/octave --no-init-file --persist
The problem is that the program is called with
argv[0] = /usr/bin/octave
argv[1] = "--no-init-file --persist"
argv[2] =  the name of the script
This way, octave returns an error message because it doesn't understand
argv[1], which results from the concatenation of the two intended args. Did
someone already succeed in avoiding this problem ?

Regards

Pascal
-- 
View this message in context: 
http://old.nabble.com/executable-scripts-and-arguments-tp27499665p27499665.html
Sent from the Octave - General mailing list archive at Nabble.com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]