Executing powershell script from javascript (Discord.js command)
TL;DR: const spawn=require('child_process').spawn; spawn('powershell.exe', ['D:/Dev/My Bot/test.ps1']); doesn't work Hello, I am using discord.js to make a bot, i want a command to execute a powershell script when it's called, the command handling, registering works fine, but the execution of the…