Skip to content

Commit b4f06ca

Browse files
committed
revert method removal
1 parent 16c30e9 commit b4f06ca

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

Flow.Launcher.Plugin/SharedCommands/ShellCommand.cs

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,5 +59,18 @@ private static string GetWindowTitle(IntPtr hwnd)
5959
GetWindowText(hwnd, sb, sb.Capacity);
6060
return sb.ToString();
6161
}
62+
63+
public static ProcessStartInfo SetProcessStartInfo(this string fileName, string workingDirectory = "", string arguments = "", string verb = "")
64+
{
65+
var info = new ProcessStartInfo
66+
{
67+
FileName = fileName,
68+
WorkingDirectory = workingDirectory,
69+
Arguments = arguments,
70+
Verb = verb
71+
};
72+
73+
return info;
74+
}
6275
}
6376
}

0 commit comments

Comments
 (0)