On this page
  1. posix.execve
  2. Import
  3. Signature & Overview
  4. Usage
  5. Gotchas
  6. REPL Inspect

posix.execve

Prev: posix.execv | Up: posix | Next: posix.fchdir
Rel: posix.abort, posix.access, posix.chdir, posix.chflags
Ref: docs.python.org — posix.execve
Tags: #public #python3 #stdlib #posix


Import

import posix
from posix import execve

Signature & Overview

posix.execve(path, argv, env)

Execute an executable path with arguments, replacing current process.

Usage

import os

# Like os.execv(), with an explicit environment mapping
assert callable(os.execve)

Gotchas

REPL Inspect

from posix import execve
help(execve)

Linked from

Related notes