Actual disableOutput implementation bypass any read of the output, so we can not detect anymore if the process is idle or not (it's based on the time of the latest read).
Two solution :
- avoid using the idle timeout when disabling the output (:-1:)
- better use of process pipes, use them in case there is an idle timeout set to detect output changes, but do not store the data in
Process (:+1:)