subprocess equivalent for "os.execvp()"?

Chris Angelico rosuav at gmail.com
Sun Jan 8 05:52:10 EST 2023


On Sun, 8 Jan 2023 at 21:51, <c.buhtz at posteo.jp> wrote:
>
> Hello,
>
> is there an equivalent in the subprocess module for "os.execvp()" to
> replace the current process with the new called one?

It won't make a subprocess, so no. It's in the os module - under the
name execvp. You found it already :)

ChrisA


More information about the Python-list mailing list