I just started learning Python today and couldn't find a good example online to help me understand os.execve(path, args, env)
properly.
How do I use this method (os.execve
) to achieve the following task in Python 3.4?
Execute an external command (this command is not some windows command like mkdir, cd... It's a custom command), its location is C:\blah
and it takes 5 command line arguments.
Any simpler example of using this command would be much appreciated.