{"repo":"bitsofinfo/stateful-process-command-proxy","free":true,"listed":false,"github":"https://github.com/bitsofinfo/stateful-process-command-proxy","clone":"git clone https://github.com/bitsofinfo/stateful-process-command-proxy.git","description":"node.js module for executing os commands against a pool of stateful child processes such as bash or powershell via stdout and stderr streams","language":"JavaScript","stars":83,"topics":["nodejs","bash","powershell","executable","command-line","shell","javascript"],"license":null,"category":"cli-tools","readme_excerpt":"stateful-process-command-proxy Node.js module for executing os commands against a pool of stateful, long-lived child processes such as bash shells or powershell consoles This node module can be used for proxying long-lived bash process, windows console etc. It works and has been tested on both linux, os-x and windows hosts running the latest version of node. Origin Features Install & Tests History Usage Example Security Related Tools Origin This project originated out of the need to execute various Powershell commands (at fairly high volume and frequency) against services within Office365/Azure bridged via a custom node.js implemented REST API; this was due to the lack of certain features in the REST GraphAPI for Azure/o365, that are available only in Powershell. If you have done any work with Powershell and o365, then you know that there is considerable overhead in both establishing a remote session and importing and downloading various needed cmdlets. This is an expensive operation and there is a lot of value in being able to keep this remote session open for longer periods of time rather than repeating this entire process for every single command that needs to be executed and then tearing everything down. Simply doing an child process. exec per command to launch an external process, run the command, and then killing the process is not really an option under such scenarios, as it is expensive and very singular in nature; no state can be maintained if need be. We also tried ","default_branch":null,"files":null,"tree":[],"storefront":"/r/bitsofinfo","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/bitsofinfo/stateful-process-command-proxy/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}