Launch Linux .sh script
#1
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.
Reply
#2
Did you tried using the XBMC.RunXBE command to start a shell script yet?

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

asg
Reply
#3
No joy unfortunately - thanks for the suggestion though, much appreciated!
Reply
#4
OK Smile Worth a try ..
Reply
#5
*bump*

Anyone able to help?
Reply
#6
http://sourceforge.net/tracker/index.php...tid=581841

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

Logout Mark Read Team Forum Stats Members Help
Launch Linux .sh script0