"alexLIGO" <[EMAIL PROTECTED]> writes:

> I would like to execute some command in python on the bash, e.g.
>
> os.system('globus-job-run mike4.cct.lsu.edu/jobmanager-pbs -l
> /bin/date')
>
> and want the result of the output in a vector, so something like:
>
> result=python_command(' command_on_the_bash ')
>
> Is that possible? And how to do that?

Check out the commands module.

http://docs.python.org/lib/module-commands.html

-- 
Björn Lindström <[EMAIL PROTECTED]>
Student of computational linguistics, Uppsala University, Sweden
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to