pkulchenko / ZeroBraneStudio

Lightweight Lua-based IDE for Lua with code completion, syntax highlighting, live coding, remote debugger, and code analyzer; supports Lua 5.1, 5.2, 5.3, 5.4, LuaJIT and other Lua interpreters on Windows, macOS, and Linux
http://studio.zerobrane.com/
Other
2.62k stars 516 forks source link

Unexpected output 'Processing...' #1144

Open robertlzj opened 2 years ago

robertlzj commented 2 years ago

Hi, output 'Processing...' period repeatedly within normal output, even may occurs after the last print at bottom code (then exit correctly).

finish. --from my code Processing...--not know from where

Program completed in 0.33 seconds (pid: 124908).

I use some io.popen, but already read and close it. And which command (DU.exe from Disk Usage - Windows Sysinternals | Microsoft Docs) won't get 'Processing...' in CMD line.

Is it relative with zbs? 😂

pkulchenko commented 2 years ago

I'm not sure, but this doesn't seem to be coming from ZBS, as I don't see a message like this anywhere. What's the shortest script you can reproduce this on?

robertlzj commented 2 years ago

Hi~ I use io.popen('command 2>nul') (or 2>&1) to eliminate unwanted output. So, it is generated by command (stderr?).

And maybe, ZBS prompt distinguish stderr from stdout is nice. Something like [stderr]: Processing... Even more, output from ZBS and script. 😂