Fixed ps_runas function to wait until all output from the spawned process was received. Previously some of the Chef run output might be truncated, especially on faster report handlers like minitest.

Fixed ps_runas function to properly bubble up the spawned process exit code.

Only include the ps_runas script when executing chef-solo. This fixed an issue where the run would error out complaining that the command line was too long.

 Please enter the commit message for your changes. Lines starting