Better comment
This commit is contained in:
parent
2ae925a0f2
commit
f991b9ae48
|
|
@ -269,9 +269,10 @@ namespace Microsoft.AspNetCore.Razor.Tools
|
||||||
|
|
||||||
if (PlatformInformation.IsWindows)
|
if (PlatformInformation.IsWindows)
|
||||||
{
|
{
|
||||||
// As far as I can tell, there isn't a way to use the Process class to
|
// Currently, there isn't a way to use the Process class to create a process without
|
||||||
// create a process with no stdin/stdout/stderr, so we use P/Invoke.
|
// inheriting handles(stdin/stdout/stderr) from its parent. This might cause the parent process
|
||||||
// This code was taken from MSBuild task starting code.
|
// to block on those handles. So we use P/Invoke. This code was taken from MSBuild task starting code.
|
||||||
|
// The work to customize this behavior is being tracked by https://github.com/dotnet/corefx/issues/306.
|
||||||
|
|
||||||
var startInfo = new STARTUPINFO();
|
var startInfo = new STARTUPINFO();
|
||||||
startInfo.cb = Marshal.SizeOf(startInfo);
|
startInfo.cb = Marshal.SizeOf(startInfo);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue