You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, for running shell commands, one has to run proc_open(), proc_close(), etc. It'd be great to have a special $shell variable, which would have a method execute($command) to easily execute commands.
functionshell_example($shell) {
$shell->execute('docker compose exec main sh');
}
The text was updated successfully, but these errors were encountered:
Currently, for running shell commands, one has to run
proc_open()
,proc_close()
, etc. It'd be great to have a special$shell
variable, which would have a methodexecute($command)
to easily execute commands.The text was updated successfully, but these errors were encountered: