Jump to content

Recommended Posts

Posted

File Not Found Error Occurs eventhough file exists in the main directory, i.e. home/ar7/bot.py

image.thumb.png.d4afa4d4525e124255cb8a53445d1a0e.png

File Name : bot.py
Server : Tommy
Username : ar7

Posted

Try changing this line

subprocess.Popen("/home/ar7/bot.py")

to this

subprocess.Popen("/home/ar7/bot.py", shell=True)

 

  • Like 1
  • Krydos locked this topic
Guest
This topic is now closed to further replies.
×
×
  • Create New...