Ferreteria/v0.6/fx/RunProcess: Difference between revisions

From Woozle Writes Code
< Ferreteria‎ | v0.6‎ | fx
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
{{page/fx}}
{{page/fx}}
==About==
==About==
* '''Definition''': <code>public function OpenProcess(string|array $saCmd) : {{l/ver/clade|IO\Aspect\Connx|Process|ProcIface}}</code>
* '''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 || usage || notes
! clade || require || implement || call || notes
{{!-!}} <code>{{l/ver/clade/full|p=ferreteria|IO\Aspect\Connx\Plug|Shell}}</code> || implement || same as <code>{{l/ver/clade/full|p=ferreteria|IO\Connx|Shell}}</code>
{{!-!}} <code>{{l/ver/clade/full|IO\Aspect\Connx|Plug}}</code>
{{!-!}} <code>{{l/ver/clade/full|p=ferreteria|IO\Aspect\Connx\Plug\Shell\Remote|SSH}}</code> || implement || same as <code>{{l/ver/clade/full|p=ferreteria|IO\Connx\Shell\Remote|SSH}}</code>
| yes
{{!-!}} <code>{{l/ver/clade/full|p=ferreteria|IO\Connx|Shell}}</code> || implement
| prompt-stub
{{!-!}} <code>{{l/ver/clade/full|p=ferreteria|IO\Connx\Shell\Remote|SSH}}</code> || implement
{{!-!}} <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

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?