PDA

View Full Version : Launch Linux .sh script


Sinnocence
2007-11-10, 16:25
Hi guys,

Would anyone be willing to take a stab at writing a short python script that will call a shell script of the same name, from the same folder, under linux?

As an example, if i were to rename your script to somename.py and run it, it would try to run somename.sh .

I can't seem to find appropriate resources on google to enable me to do it myself. If you even have a good link where I can read up on it and do it myself I'd greatly appreciate it.

Thanks.

asg
2007-11-10, 18:58
Did you tried using the XBMC.RunXBE command to start a shell script yet?

Util.cpp:
/// \brief Runs an executable file
/// \param szPath1 Path of executeable to run
/// \param szParameters Any parameters to pass to the executeable being runI am not sure if will work but since a xbe is a executable file on the XBOX it may start other executables aswell?!

asg

Sinnocence
2007-11-10, 19:14
No joy unfortunately - thanks for the suggestion though, much appreciated!

asg
2007-11-10, 19:37
OK :) Worth a try ..

Sinnocence
2007-11-15, 11:01
*bump*

Anyone able to help?

Sinnocence
2007-11-24, 15:26
http://sourceforge.net/tracker/index.php?func=detail&aid=1837456&group_id=87054&atid=581841

Added a feature request for Linux to be able to launch external executables.