try icon indicating copy to clipboard operation
try copied to clipboard

Unexpected result from Environment api

Open HobbsCode opened this issue 4 years ago • 0 comments

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

HobbsCode avatar May 03 '21 03:05 HobbsCode