× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Luis Colorado skrev den 29-01-2008 16:04:
Raj,

I don't think you can't switch to a qshell environment, as you are trying to do. As soon as your first qsh command has been completed, you get back to the same CL mode. That means that you have to do everything in one line. So your method call should look something like:

cmd.run ("QSH CMD('/qibm/WasJythonScripts/InstallScript.sh arg1 arg2 arg3')")
I cannot check right now, but I am pretty certain that semi colons are allowed in the command string, so have something along

CMD('cd /foo/bar; ./myscript a b c')

For anything more than just a one-shot I would recommend writing a shell script. qsh is very close to normal Unix sh behaviour.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.