mirror of
https://github.com/snltty/linker.git
synced 2025-10-08 02:20:15 +08:00
sync
This commit is contained in:
@@ -9,6 +9,11 @@ namespace linker.libs
|
||||
{
|
||||
return Execute("cmd.exe", arg, commands, readResult);
|
||||
}
|
||||
public static string PowerShell(string arg, string[] commands, bool readResult = true)
|
||||
{
|
||||
return Execute("powershell.exe", arg, commands, readResult);
|
||||
}
|
||||
|
||||
public static string Linux(string arg, string[] commands, bool readResult = true)
|
||||
{
|
||||
return Execute("/bin/bash", arg, commands, readResult);
|
||||
|
Reference in New Issue
Block a user