Avatar

Level 3

I installed the gcloud sdk in AC server, and I can run the 'gcloud -v' by the user 'neolane' in the command console:

 

felixsongfei_0-1623307056579.png

 

But it always failed to run in Adobe campaign by the execCommand method:

 

var command='gcloud -v';
try{
var res=execCommand(command,true);
} catch(e){
logError("Error: "+e);
}

logInfo(">>"+res)

 

Error logs:

felixsongfei_1-1623307126459.png

 

Does anyone know reason why the command cannot be executed by the same user in the same server? thanks!