Модуль для работы с процессами Поддерживает: JsMB-Interpreter NW.JS Node.JS
Kind: global namespace
Author: PROPHESSOR
Внимание! Если вы используете стандартную реализацию - префикс JsMB.
писать не обязательно.
- $Process :
object
- .exec(target) ⇒
this
- .execReturn(target) ⇒
string
- .execFile(file, [keys]) ⇒
this
- .execFileReturn(file, [keys]) ⇒
this
- .exec(target) ⇒
Выполнить команду
Kind: static method of $Process
Param | Type | Description |
---|---|---|
target | string |
Команда |
Выполнить команду и вернуть результат
Kind: static method of $Process
Param | Type | Description |
---|---|---|
target | string |
Команда |
Выполнить файл
Kind: static method of $Process
Param | Type | Default | Description |
---|---|---|---|
file | string |
Файл | |
[keys] | array |
[] |
Массив с ключами |
Выполнить файл и вернуть результат
Kind: static method of $Process
Param | Type | Default | Description |
---|---|---|---|
file | string |
Файл | |
[keys] | array |
[] |
Массив с ключами |