This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Diagnostics; | |
using System.Threading; | |
using System.Threading.Tasks; | |
//MIT license, from MonoDevelop ProcessUtils.cs | |
public static Task<int> StartProcess (ProcessStartInfo psi, TextWriter stdout, TextWriter stderr, CancellationToken cancellationToken) | |
{ | |
var tcs = new TaskCompletionSource<int> (); |