mono shortcuts
LinuxRunHelper
01 Syntax
Microsoft.VisualBasic.My.UNIX.LinuxRunHelper
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| BashRun | 1 | Run from bash shell |
| BashShell | 1 | 这里比perl脚本掉调用有一个缺点,在运行前还需要使用命令修改为可执行权限 'sudo chmod 777 cmd.sh' |
| Shell | 1 | Run linux command via /bin/bash |
| GetLocationHelper | 1 | |
| MonoRun | 1 |
03 Members
BashRun
Run from bash shell
BashShell(
Boolean)这里比perl脚本掉调用有一个缺点,在运行前还需要使用命令修改为可执行权限
'sudo chmod 777 cmd.sh'Parameters
| Name | Type | Description |
|---|---|---|
install_root | Boolean | install command to root location: /usr/local/bin/ |
Shell(
String, String, Boolean, String)Run linux command via /bin/bash
Remarks
Parameters
| Name | Type | Description |
|---|---|---|
command | String | - |
args | String | - |
verbose | Boolean | - |
GetLocationHelper()
MonoRun(
String, String)