Just a simple command:
Code:
local command="powershell -c dir"
reaper.ExecProcess(command, 0)
I tried this code in Win8, Win10, both of them are suscessful. But in Win7, after running it, reaper hang.
If I use -1 instead of 0, yes it's ok on Win7, but why in Win8 and Win10 it's ok to use both 0 and -1?