With this code it is not working:
const open = require('open');
open('google.com');
process.exit(0);
If I remove the exit it is working. But I need an exit in my node script after the open() is called.
Workaround would be setTimeout and exit with a delay. Is that the way to go?
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too