try
try copied to clipboard
Unexpected result from Environment api
Describe the bug
Calling Environment.GetCommandLineArgs() on try.dot.net returns an empty array. This does not appear compliant with the documentation, which says that the first item of the array is the executable path. Is trydotnet diverging from the documentation, perhaps for security? Or should the documentation be updated to indicate that the method may return an empty array?
Did this error occur while using dotnet try or online?
- [ ] online
What kind of error was it?
- [ ] Other: unexpected result
Please complete the following:
- OS
- [ ] Windows 10
- Browser
- [ ] Edge