problem with TESTOS 2
Ryanand (34)

so i made some .sh files and when python opens them it does not work perfectly when i do:

echo hello!

when python opens it, it's this:

echo hello!

instead of:


help me!

You are viewing a single comment. View All
pyelias (1481)

Opening a .sh file is not the same as running its contents. If you want to run the files, use os.system like you did in

Scoder12 (672)

@pyelias Wouldn't subprocess be better?