Replies: 1 comment
-
|
Sorry, this maybe should have been asked in dotnet/runtime. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Let's say I have the following file-based app pwd.cs that exists at
C:\temp\pwd.cs. If I run it from another directory, I seem unable to get that directory name through the usual mechanisms:I was hoping that one of these directory/path references would point to the directory the application was launched from (here
C:\temp\demo) as that would be useful for scripting. It seems like the app.cs runner logic "reparents" the current directory and execution to the location of the file being run.Am I just missing something silly?
Beta Was this translation helpful? Give feedback.
All reactions