Re: multiple -cmds for external application
Got it working by adding
\n between the commands. Thank you.
Before posting, please read how to report bug or request support effectively.
Bug reports without an attached log file are usually useless.
\n between the commands. Thank you.
-cmd switch. No longer WinSCP question, sorry.
Yes it does. That's why I need to cd back into the current directory. Is there a way to stop that?
That's not a question for WinSCP. Is do not knowqsub. What is it?
Yes it does. That's why I need to cd back into the current directory. Is there a way to stop that?
qsub. What is it?
Doesn't theqsubstart a new sub-shell?
qsub start a new sub-shell?
What happens if you execute the command in SSH terminal? The exactly same command, just with the!/replaced with real paths.
!/ replaced with real paths.
This should work:
D:\Dropbox\pAPPS\ssh\kitty.exe -load winSCp !U@!@ -cmd "cd '!/' ; qsub -I -X -l nodes=2:ppn=4,walltime=2:00:00 ; cd '!/' ; module load matlab"
Though combining the-loadand!U@!@does not look correct either.
D:\Dropbox\pAPPS\ssh\kitty.exe -load winSCp !U@!@ -cmd "cd '!/' ; qsub -I -X -l nodes=2:ppn=4,walltime=2:00:00 ; cd '!/' ; module load matlab"
-load and !U@!@ does not look correct either.
D:\Dropbox\pAPPS\ssh\kitty.exe -load winSCp -cmd "cd '!/'" !U@!@ -cmd "qsub -I -X -l nodes=2:ppn=4,walltime=2:00:00"
D:\Dropbox\pAPPS\ssh\kitty.exe -load winSCp -cmd "cd '!/'" !U@!@ ; "qsub -I -X -l nodes=2:ppn=4,walltime=2:00:00" ; cd "cd '!/'" ; "module load matlab"