Dec-07-2023, 11:16 PM
what is the Pythonic way to do
os.execve()
with keyword arguments like stdout= and stderr= ? basically, i want a command to replace the existing process instead of starting a new one. the various .Popen()
methods create a new process. i want the command to run in the existing process with STDOUT and/or STDERR redirection.