Made changes to compilation and other things

- Added basic support for embedded resources (resx files are next!)
- Print out exit code from executed command (makes debugging easier)
- Fixed dnvm2.cmd to avoid putting things on the user path
- Fixed up propagation of exit codes
This commit is contained in:
David Fowler 2015-10-18 19:02:09 -07:00
parent dc46d3e23e
commit 6ba4781c4f
7 changed files with 493 additions and 20 deletions

View file

@ -137,6 +137,10 @@ namespace Microsoft.DotNet.Cli.Utils
var exitCode = await _processTcs.Task;
#if DEBUG
Console.WriteLine($"> {_process.StartInfo.FileName} {_process.StartInfo.Arguments} exited with {exitCode}.");
#endif
return new CommandResult(
exitCode,
_stdOutCapture?.GetStringBuilder()?.ToString(),