Ecosyste.ms: Repos
An open API service providing repository metadata for many open source software ecosystems.
GitHub / jakobwesthoff / systemProcess
Wrapper around PHPs facilities to execute and manage external processes
JSON API: https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakobwesthoff%2FsystemProcess
Stars: 0
Forks: 0
Open Issues: 0
License: gpl-3.0
Language: PHP
Repo Size: 184 KB
Dependencies:
74
Created: over 10 years ago
Updated: over 9 years ago
Last pushed: over 10 years ago
Last synced: about 1 year ago
Files
Loading...
Readme
Loading...
Dependencies
doc/requirements.txt
pypi
- Argumentpreparation *
- Currentimplementation *
- Currentlyawelldocumentedimplementationofthisexists *
- Description *
- Designgoals *
- End *
- Environment *
- Execution *
- Filedescriptors *
- Furthermoreitautomagicallyescapesthegivencommandorargumentpartsto *
- Introduction *
- Itisavailableat *
- Itshouldbetakenintoaccountthattheusualwayofinformingtheparent *
- LocalVariables *
- Requirements *
- STDERRoutputtoSTDOUT *
- Someusageexamplesofthecurrentimplementationcanbefoundonitsproject *
- TheSystemProcesscomponentneedstofulfillthefollowingrequirementsfrom *
- TheSystemProcesscomponentpresentsasetoffeaturestoexecuteandhandle *
- Thecurrentlyavailableimplementationprovideseasymeanstohandle *
- TheworkflowofacreatingaSystemProcessobjectapplyingcertainargumentsas *
- Thiskindofinterfaceisoccurstobethecleanestobject-orientedwayof *
- anyothersystemthemplainLinux.Neverthelessitshouldalsoworkonother *
- appropriatecommandline *
- assemblingacommandlinetome.Thereforetheusershouldbeabletoeasily *
- asynchronouslycouldjustreturntheappropriateerrorcode.Fromastrict *
- asynchronouslyrunningprocesseswheresuchoperationscanbetriggeredwhile *
- bemadeavailabletothecaller.Theexecutefunction ,ifnotcalled
- bereturned.ThisoptionshouldbelocalforanycreatedSystemProcessobject *
- createanoptionifanexceptionshouldbethrownortheerrorcodeshouldjust *
- currentlynowayofcrossplatformpathcreationisimplementedeither. *
- descriptors *
- eZComponents *
- executedapplication.Thismayonlybereasonableduringanasynchronous *
- execution. *
- externalapplicationsinaneasyandmanageableway.Ittakescareofthe *
- filedescriptors. *
- fill-column *
- forechoaswellasforcatexists. *
- fortheworktobedone. *
- functionsetfromphp.Itisfullyunittested.Atthecurrentdevelopment *
- getusedtothestructureprocessesaredefinedandfinallyspawned. *
- havingthefluentinterfacepatterninmind.Theusedinterfaceshouldlook *
- implementation *
- isdetected.Neverthelesssomeapplicationsusenonzeroexitcodesevenif *
- kindofoptioncouldintroducecertainsideeffects. *
- makecodeinjectionlesseasyandensurecorrectcommandexecution. *
- mode *
- necessarilyexecutingit. *
- necessarydataduringtheexecution. *
- newezcSystemProcess *
- objectorientedviewitanexceptionshouldbethrownifanonzeroexitcode *
- obviouslynotbedoneonwindowssystems. *
- page ,whichcanbereachedunder
- possible.ThebestwaytoachievesuchanintuitiveAPIwouldbetodesignit *
- processoferrorsduringtheexecutionofanychildisbyusingerrorcodes *
- prohibittheinjectionofshellcommands. *
- retrievingtheiroutputaftertheyfinished. *
- running. *
- satisfactorywayyet.Butthisimplementationcouldbeseenasapossiblebase *
- signalhandlingtoprovideaplatformindependentbutyetflexiblewaytowork *
- somethinglikethis *
- stageitisdoesnotensureanycrossplatformcompatibilitywithwindowsor *
- synchronousaswellasasynchronousprogramexecutionsusingtheproc_ *
- systems *
- thecurrentpointofview *
- theexecutiondidnotcauseafatalerror.Thereforeitmightbeagoodideato *
- theprocessisrunning. *
- tonotinterferewithlargescaleapplicationswhereaglobalchangeofthis *
- underlyingsystemcallsandspecialtieslikedifferentpathformattingor *
- vim *
- wellasoptionstoitandfinallyspawningtheprocessshouldbeintuitiveas *
- whicharesimplyreturnedafterthechildterminated.Theseerrorcodesneedto *
- withexternalapplications. *