Re: When running from a script execlineb does not use separated args

2018-07-31 Thread Laurent Bercot
#!/bin/execlineb -W -S 1 You're running into an unfortunate side effect of shebang lines where only the first argument is available. Exactly. Shebang parsing is done by the kernel, which does not have a complete command line parser. (If it had, the execlineb program would be redundant: we

Re: When running from a script execlineb does not use separated args

2018-07-30 Thread Colin Booth
On Mon, Jul 30, 2018 at 10:44:36PM -0500, Joshua Haase wrote: > Using a script fails when using with the headers: > > #!/bin/execlineb -W -S1 > > or > > #!/bin/execlineb -W -S 1 > > I guess it's because when the commands are executed, the second part is > treated as a single arg, so exe

When running from a script execlineb does not use separated args

2018-07-30 Thread Joshua Haase
Using a script fails when using with the headers: #!/bin/execlineb -W -S1 or #!/bin/execlineb -W -S 1 I guess it's because when the commands are executed, the second part is treated as a single arg, so execlineb receives execlineb '-W -S1' and thus fails to interpret that as options.