--> Running shell script with python

gm notmy at mail.com
Thu Aug 18 06:01:24 EDT 2016


On 08/18/2016 11:16 AM, Lawrence D’Oliveiro wrote:
> On Thursday, August 18, 2016 at 8:00:51 PM UTC+12, gm wrote:
>>> os.system("python /home/pi/test/testserver.sh") command
>>>> How to run shell ( not python ) script, from python code ?
>> Take out the “python” from the command.
>:-) Damn :-). Thank you !

Tell me, do you know how can i send CTRl+C command from python to 
terminate this external shell script ?


More information about the Python-list mailing list

AltStyle によって変換されたページ (->オリジナル) /