mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-20 18:18:56 +00:00
chore(console) setExec: rm " "
This commit is contained in:
parent
fcb512a49f
commit
651902b243
1 changed files with 12 additions and 12 deletions
|
|
@ -166,18 +166,18 @@
|
|||
* @param callback
|
||||
*/
|
||||
function setExec(callback, error, stdout, stderr) {
|
||||
var json,
|
||||
errorStr = stderr || error;
|
||||
|
||||
if (errorStr)
|
||||
errorStr = addNewLine(errorStr + '');
|
||||
|
||||
json = {
|
||||
stdout : stdout,
|
||||
stderr : errorStr
|
||||
};
|
||||
|
||||
Util.exec(callback, json, error, stderr);
|
||||
var json,
|
||||
errorStr = stderr || error;
|
||||
|
||||
if (errorStr)
|
||||
errorStr = addNewLine(errorStr + '');
|
||||
|
||||
json = {
|
||||
stdout : stdout,
|
||||
stderr : errorStr
|
||||
};
|
||||
|
||||
Util.exec(callback, json, error, stderr);
|
||||
}
|
||||
|
||||
function setSpawn(сommand, options, callback) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue