Ferreteria/v0.6/fx/RunProcess: Difference between revisions
< Ferreteria | v0.6 | fx
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 12: | Line 12: | ||
{{!-!}} <code>{{l/ver/clade/full|IO\Aspect\Connx\Plug|Chain}}</code> | {{!-!}} <code>{{l/ver/clade/full|IO\Aspect\Connx\Plug|Chain}}</code> | ||
| | | | ||
| <code>return $this->{{l/ver/fx|OSock}}()->{{l/ver/fx| | | <code>return $this->{{l/ver/fx|OSock}}()->{{l/ver/fx|OPlug}}()->{{l/ver/fx|RunProcess}}($saCmd);</code> | ||
{{!-!}} <code>{{l/ver/clade/full|IO\Aspect\Connx\Plug|Shell}}</code> | {{!-!}} <code>{{l/ver/clade/full|IO\Aspect\Connx\Plug|Shell}}</code> | ||
Latest revision as of 19:55, 7 December 2025
|
fx:
RunProcess() |
About
- Definition:
public function RunProcess(string|array $saCmd) : ProcIface
Usage
| clade | require | implement | call | notes |
|---|---|---|---|---|
IO\Aspect\Connx\Plug
|
yes | prompt-stub | ||
IO\Aspect\Connx\Plug\Chain
|
return $this->OSock()->OPlug()->RunProcess($saCmd);
| |||
IO\Aspect\Connx\Plug\Shell
|
ProcClass::FromCommand($saCmd);, mostly
| |||
IO\Aspect\Connx\Plug\Shell\Remote\SSH
|
sends output of $this->WrapCommand($saCmd) on to parent
| |||
Sys\Data\Engine\schema\Ops\MyMar
|
in DoImport(): $oProc = $oConnx->OPlug()->RunProcess($sCmd);
|