Probably `execv`, `execve`, `execvp`, `execvpe`. (Implement using `subprocess.run()` on Windows, as with the CLI version.)