Arguments prevent application from starting
computerquip-streamlabs opened this issue · 1 comments
Seems providing any argument what so ever prevents the application from starting. A simple test case that does nothing but log to a file (does nothing with arguments) shows this to be the case.
After a bit of experimentation and by accident actually, I found that when packaged, arguments do prevent the application from starting. So something like my.exe --test
will just seemingly not start. However, yode-runtime.exe my-app-dir --test
does some to work after all. I guessed that it was probably something in the yode/node code that was parsing arguments before giving them to the application so if you do something like this instead my.exe -- --test
the resulting argv is <full-path-to-exe> <full-path-to-working-dir> --test
.
I'm not sure where the problem is or if it's a problem at all so I'll keep it open.