Ferreteria/v0.6/fx/RunProcess: Difference between revisions
< Ferreteria | v0.6 | fx
Jump to navigation
Jump to search
m (Woozle moved page Ferreteria/v0.6/fx/OpenProcess to Ferreteria/v0.6/fx/RunProcess) |
No edit summary |
||
| Line 1: | Line 1: | ||
{{page/fx}} | {{page/fx}} | ||
==About== | ==About== | ||
* '''Definition''': <code>public function | * '''Definition''': <code>public function RunProcess(string|array $saCmd) : {{l/ver/clade|IO\Aspect\Connx|Process|ProcIface}}</code> | ||
==Usage== | ==Usage== | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
! clade || | ! clade || require || implement || call || notes | ||
{{!-!}} <code>{{l/ver/clade/full| | {{!-!}} <code>{{l/ver/clade/full|IO\Aspect\Connx|Plug}}</code> | ||
{{!-!}} <code>{{l/ver/clade/full | | yes | ||
{{!-!}} <code>{{l/ver/clade/full| | | prompt-stub | ||
{{!-!}} <code>{{l/ver/clade/full|IO\Aspect\Connx\Plug|Shell}}</code> | |||
| | |||
| <code>{{l/ver/clade|IO\Aspect\Connx|Process|ProcClass}}::{{l/ver/fx|FromCommand}}($saCmd);</code>, mostly | |||
{{!-!}} <code>{{l/ver/clade/full|IO\Aspect\Connx\Plug\Shell\Remote|SSH}}</code> | |||
| | |||
| sends output of <code>$this->{{l/ver/fx|WrapCommand}}($saCmd)</code> on to {{l/ver/clade|IO\Aspect\Connx\Plug\Shell|Remote|parent}} | |||
{{!-!}} <code>{{l/ver/clade/full|Sys\Data\Engine\schema\Ops|MyMar}}</code> | |||
| | |||
| | |||
| in <code>{{l/ver/fx|DoImport}}()</code>: <code>$oProc = $oConnx->OPlug()->RunProcess($sCmd);</code> | |||
|} | |} | ||
==Questions== | ==Questions== | ||
* Are the last two duplicates of the first two? | * Are the last two duplicates of the first two? | ||
Revision as of 03:14, 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\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);
|
Questions
- Are the last two duplicates of the first two?