feat:V3.0.1
This commit is contained in:
@@ -49,7 +49,7 @@ export function version_compare(v1: string, v2: string) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
export function execPromise(cmd:string,options:ExecOptions){
|
||||
export function execPromise(cmd:string,options?:ExecOptions){
|
||||
return new Promise((resolve,reject)=>{
|
||||
exec(cmd,options,(err,stdout,stderr)=>{
|
||||
if(err){
|
||||
|
||||
Reference in New Issue
Block a user