Ejecuta funciones en segundo plano
Installs: 11
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Forks: 0
pkg:composer/tinyphp-function/cli
This package is not auto-updated.
Last update: 2025-10-16 17:55:31 UTC
README
Instalación via composer
composer require tinyphp-function/cli
Funciones
/** Función que ejecuta un comando mediante shell */
function cli(string $command): string|null
/** Función que ejecuta un comando mediante shell pero complementa el comando para que sea asíncrono */
function cli_async(string $command): string|null
/** Busca el ejecutable para PHP */
function phpbin(): string
/** Función que ejecuta un comando mediante shell añadiendo la ruta del ejecutable PHP al inicio */
function phpcli(string $command): string|null
/** Función que ejecuta un comando mediante shell añadiendo la ruta del ejecutable PHP al inicio y complementa el comando para que sea asíncrono */
function phpcli_async(string $command): string|null