Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Command line args for a Windows,Linux,Mac application

$
0
0

What is the recommended way to handle the difference in the command line args returned on Windows and Linux/Mac, where the args returned on Linux/Mac include our application as the first parameter because it appears to be the args from the point of view of the 'mono' runtime. This makes command-line processing in our application require a hack on Linux and Mac to skip the first command line arg which we don't have to do on Windows.

Is this a bug in the mono runtime, or is this an intended difference in behaviour to .NET applications on Windows?


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>