From e1b7bd69a8587ef3e4ec41776c2847c9a14ba7d9 Mon Sep 17 00:00:00 2001 From: 付智勇 <fuzhiyong@efangtec.com> Date: Mon, 4 Sep 2017 18:01:09 +0800 Subject: [PATCH] no message --- util/Agora_Recording_SDK_for_Linux_FULL/samples/shellUtil.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/util/Agora_Recording_SDK_for_Linux_FULL/samples/shellUtil.js b/util/Agora_Recording_SDK_for_Linux_FULL/samples/shellUtil.js index 63ab4ff..05ad75a 100644 --- a/util/Agora_Recording_SDK_for_Linux_FULL/samples/shellUtil.js +++ b/util/Agora_Recording_SDK_for_Linux_FULL/samples/shellUtil.js @@ -7,14 +7,14 @@ function shell(){ shell.prototype.Recording =async(appId,uid,channel,channelKey)=>{ return new Promise((resolve, reject) =>{ - let shell =`pwd && ./Recorder_local`+ + let shell =`cd util/Agora_Recording_SDK_for_Linux_FULL/samples/ && ./Recorder_local`+ ` --appId ` +appId + ` --uid ` +uid + ` --channel ` + channel + ` --channelKey ` + channelKey + " --appliteDir \`pwd\`/../bin"; console.log(shell) - callfile.exec('pwd',function(err, stdout, stderr){ + callfile.exec(shell,function(err, stdout, stderr){ console.log(arguments); if(err){ reject(err); -- libgit2 0.24.0