shell2http
shell2http copied to clipboard
Executing shell commands via HTTP server
For longer running commands, such as `wget` or `pv` with progress indication, is it possible to flush output and make it visible to the webbrowser while running?
Running the utility in `--form` mode, I’m trying to write a simple *passthrough*, essentially in the form of: ```sh shell2http --form --no-index --port=$PORT /exec './my-utility $v_args' ``` The way `$v_name`...
Hi, Thank you for a fantastic tool! It is a godsend when working with docker-compose. I have however run into a very strange issue. I'm trying to get ImageJ/Fiji up...
It seems that shell2http waits for any child process that is spawned to finish. For example if your un _script.py_ that will spawn another child process _script2.py_ and exits, it...
This would allow shell2http to be used with inetd-like scenarios, eg. Systemd Socket activation, or Launchd socket activation. This is especially useful if you want your application to bind to...
While a long time running task be dispatched with a flag such as `#async` on windows, shell2http return immediately. ```bat set chrome="C:\Progra~2\Google\Chrome\Application\chrome.exe" D:\bin\shell2http\shell2http -host=127.0.0.1 -port=8081 -no-index -log=access.log -form ^ /html2pdf#async...
Current version of shell2http binaries are build with old go version which cause our security tooling to report CVE-2016-2183. This seems to be solved with a new go version: [link](https://github.com/golang/go/issues/41476)...
Using the option to output logs to file (`-log=filename`) I would expect to see both the stdout/stderr of the shell2http process and stderr from any invoked subcommand to show up...
See this (old) blog post: https://blog.phusion.nl/2015/01/20/docker-and-the-pid-1-zombie-reaping-problem/ and this solution (https://github.com/krallin/tini) which is now built into docker via `--init`. The shell scripts run by `shell2http` will typically become zombie and won't...
I'd like to occasionally start a new log without interrupting the process. While I'm not sure how other operating systems handle it, on macOS I've found that altering the current...