pexec

package
v0.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 29, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package pexec exposes process execution to PHP: exec runs a command through the shell the way PHP's does, escapeshellarg quotes an argument for it, and posix_getpid names the running process.

exec's $output works because arrays are shared: the binding appends into the array the caller passed, which is the same observable result PHP reaches by reference. $result_code has no such route — an integer cannot be written back — so it is accepted and ignored.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(rt *runner.Runtime)

Register installs symbols into the runtime.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL