My electron app receives set of arguments via command line. Is there a way we could mask it such that the arguments are not visible in plain text in process searches .If that's not possible ,what is the best way to pass secured argument to the electron app? Can anyone confirm if electron is compatible with passing stdin via named pipes?
#Is it possible to mask command line arguments in electron ?
5 messages · Page 1 of 1 (latest)
If nodejs compatible with named pipes then yes
Looks like there is an open issue on this : https://github.com/electron/electron/issues/4218
GitHub
I succesfuly got access to stdin data at https://github.com/s-a/iron-node/blob/e844eac23fb8a0f7f2285dab9318ab3a4fe2fc78/bin/run.js#L17 But having trouble to access stdin at the main process module....
Is it possible to mask argument after reading it , just like mysql -u <username> -p****
its not possible