Open PeterTran4 opened 8 months ago
Is exec
coming from require('child_process')? If so, that is an async function running within a promise. You either need to await/return that promise, or consider using execSync
instead. Otherwise it's creating a race condition.
Hi all, I've been attempting to execute this child process but after much research on both the github and Stackoverflow, still stumped.
Here is my code that is throwing an error.
This is not the full code but seems like the issue is within the exec itself.
My error:
I've double checked as well to make sure that the user is an admin and running both the service as "Local System account"..."allow Service to interact with desktop" and Using a local admin account as well.