bij deze code:
import subprocess
subprocess.call(['/home/daniel/test/helloworld.py'])
------------------------------------------------------------------------------------------
Ik wilde een andere python script laten draaien met als vb en opdracht helloworld.py
als ik deze wil openen in v.3,4 dan krijg ik de volgende melding:
Traceback (most recent call last):
File "/home/daniel/test/test.py", line 2, in <module>
subprocess.call(['/home/daniel/test/helloworld.py'])
File "/usr/lib/python3.4/subprocess.py", line 533, in call
with Popen(*popenargs, **kwargs) as p:
File "/usr/lib/python3.4/subprocess.py", line 848, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.4/subprocess.py", line 1446, in _execute_child
raise child_exception_type(errno_num, err_msg)
OSError: [Errno 8] Exec format error