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

posix.execv

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


Import

import posix
from posix import execv

Signature & Overview

posix.execv(path, argv, /)

Execute an executable path with arguments, replacing current process.

Usage

import os

# Replaces the current process image with a new executable (never returns on success)
assert callable(os.execv)

Gotchas

REPL Inspect

from posix import execv
help(execv)

Linked from

Related notes