museumsvictoria / nodel

A digital media control system for museums and galleries
nodel.io
60 stars 17 forks source link

Process sandbox (Windows) stripping quotes passed as arguments #329

Open scroix opened 3 months ago

scroix commented 3 months ago

Related to https://github.com/museumsvictoria/nodel-recipes/issues/78

As described in https://github.com/museumsvictoria/nodel-recipes/pull/77#issuecomment-1647227579, the process sandbox strips quotes which are passed along from the App Launcher (and other nodes).

So "C:\content\hello world.mp4" would be treated as two seperate arguments, C:\content\hello and world.mp4

As suggested in that linked PR; making use of Environment.CommandLine instead of the class static void Main method, should resolve this issue.