How to pass cmd line parameters to stand alone exe file?



I am using the ‘electron-winstaller’ node module to create the standalone exe.
I am not getting the cmd line parameters to work on the stand alone exe.
here is my code

var argv = require(‘minimist’)(process.argv);

cmd:- AutoFileSender.exe 58748009341a7d5840a51414 Sambit Swain 59c9d0c64a4ed3599a59df0b_58748009341a7d5840a51414 sender C:\ConnectUs-SFTSend\ C:\ConnectUs-SFTReceive\ rmrqaF

But if i run the same cmd with the basic unpacked exe (in the win32-ia32 folder) it gets the parameters.