Skip to content

Commit

Permalink
Removed unused console logging
Browse files Browse the repository at this point in the history
  • Loading branch information
bleuthoot-sven committed May 5, 2022
1 parent 8e6ecd1 commit c193c47
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions LegacyInstaller/Utilities.cs
Original file line number Diff line number Diff line change
Expand Up @@ -133,22 +133,12 @@ public static void CreateJunctionLink(string destinationPath, string sourcePath)
process.StartInfo.Arguments = $" /C mklink /J \"{destinationPath}\" \"{sourcePath}\"";
process.StartInfo.CreateNoWindow = true;
process.StartInfo.UseShellExecute = false;
process.StartInfo.RedirectStandardOutput = true;
process.OutputDataReceived += Process_OutputDataReceived;

process.Start();

Console.WriteLine(process.StandardOutput.ReadToEnd());

process.WaitForExit();
}
}

private static void Process_OutputDataReceived(object sender, System.Diagnostics.DataReceivedEventArgs e)
{
Console.WriteLine(e.Data);
}

public static bool IsJunctionLink(string path)
{
FileInfo pathInfo = new FileInfo(path);
Expand Down

0 comments on commit c193c47

Please sign in to comment.