shell2http icon indicating copy to clipboard operation
shell2http copied to clipboard

support async call on windows

Open Hi-Alan opened this issue 2 years ago • 2 comments

While a long time running task be dispatched with a flag such as #async on windows, shell2http return immediately.

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  "echo OK && %chrome% --headless --disable-gpu --print-to-pdf-no-header --print-to-pdf=%%v_file%% %%v_url%%"

Hi-Alan avatar Aug 29 '22 09:08 Hi-Alan

I think, it's a duplicate of https://github.com/msoap/shell2http/issues/70

msoap avatar Aug 29 '22 13:08 msoap

Thanks for your works, msoap.

There is no command like nohup on windows. Requests will be blocked like this:

shell2http -port=8081 /longrun "start /b ping -n 5 127.0.0.1 >> D:\x.log" shell2http -port=8081 /longrun "cmd /c ping -n 5 127.0.0.1 >> D:\x.log"

Hi-Alan avatar Aug 31 '22 06:08 Hi-Alan