Improved process starting
This commit is contained in:
parent
4adc22561f
commit
d416cef105
2 changed files with 9 additions and 4 deletions
|
|
@ -588,9 +588,14 @@ namespace MatterHackers.MatterControl
|
|||
{
|
||||
try
|
||||
{
|
||||
Process.Start(input);
|
||||
}
|
||||
catch
|
||||
var p = new Process();
|
||||
p.StartInfo = new ProcessStartInfo(input)
|
||||
{
|
||||
UseShellExecute = true
|
||||
};
|
||||
p.Start();
|
||||
}
|
||||
catch
|
||||
{
|
||||
// hack because of this: https://github.com/dotnet/corefx/issues/10361
|
||||
if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit f1d2d2113baa4373ded9b08e9fde7fd5c80ea1ef
|
||||
Subproject commit 02de9c7a54a825dc2dde4335869ea1c8a5e39f67
|
||||
Loading…
Add table
Add a link
Reference in a new issue