Current command_resource.rs code has a bug where if stderr pipe is filled before stdout, then a hang happens.
This can happen if large traces are written by a resource process.
An example is PSAdapter cache processing code when a module with lots of files is present on the system (e.g. SqlServerDsc).
This will be auto-fixed by fixing #46 (changing to async child process execution);
Meanwhile, as a temporary workaround, this PR disables problematic trace line in PSAdapter.
PR Summary
Current
command_resource.rs
code has a bug where ifstderr
pipe is filled beforestdout
, then a hang happens. This can happen if large traces are written by a resource process. An example is PSAdapter cache processing code when a module with lots of files is present on the system (e.g.SqlServerDsc
).This will be auto-fixed by fixing #46 (changing to async child process execution); Meanwhile, as a temporary workaround, this PR disables problematic trace line in PSAdapter.