The easiest way is probably to tell the scheduler to just run the binary.

qsub -b y -S /bin/bash -e foo.sh

--
Adam

On Tue, Jul 21, 2015 at 10:11 AM, Alex Rothberg <[email protected]> wrote:
> How do I pass arguments to the interpreter rather than to the program
> itself?
>
> For example if I want to run:
> /bin/bash -e foo.sh
>
> I can try:
> qsub -S /bin/bash foo.sh
>
> but how do I pass the -e in? If I run this, the -e gets passed to foo.sh:
> qsub -S /bin/bash foo.sh -e
>
>
> _______________________________________________
> SGE-discuss mailing list
> [email protected]
> https://arc.liv.ac.uk/mailman/listinfo/sge-discuss
>
_______________________________________________
SGE-discuss mailing list
[email protected]
https://arc.liv.ac.uk/mailman/listinfo/sge-discuss

Reply via email to