I installed the gcloud sdk in AC server, and I can run the 'gcloud -v' by the user 'neolane' in the command console:
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:
Does anyone know reason why the command cannot be executed by the same user in the same server? thanks!