add exec method to smartshell class
This commit is contained in:
@ -38,6 +38,15 @@ export class Smartshell {
|
||||
return await smartshellWrap.execSilent(commandArg)
|
||||
}
|
||||
|
||||
/**
|
||||
* executes and returns IExecResult
|
||||
* @param commandArg
|
||||
*/
|
||||
async exec (commandArg: string) {
|
||||
let execCommand = this.createExecString(commandArg)
|
||||
return await smartshellWrap.exec(commandArg)
|
||||
}
|
||||
|
||||
/**
|
||||
* creates the final sourcing string
|
||||
* @param commandArg
|
||||
|
Reference in New Issue
Block a user