os.execCommand returns error
shadichy opened this issue · 5 comments
shadichy commented
pathange-s commented
The following error can be resolved by wrapping await calls in an async
function. Probably you didn't do that, that's why this error occurred. Add async
before the function name should help you out.
shadichy commented
is there any way to do that (or the same thing) without async
?
pathange-s commented
You could use promises and resolve them.
shadichy commented
ok, thanks
sorry for wasting your time
pathange-s commented
No issues, glad to help :)