Skip to content
This repository was archived by the owner on Nov 13, 2026. It is now read-only.

Stop passing executable name on the command line - #1127

Merged
MichalStrehovsky merged 1 commit into
dotnet:masterfrom
MichalStrehovsky:commandLineArgs
Apr 12, 2016
Merged

MichalStrehovsky merged 1 commit into
dotnet:masterfrom
MichalStrehovsky:commandLineArgs

Conversation

@MichalStrehovsky

Copy link
Copy Markdown
Member

As the comment above the line I'm changing states - the first argument
passed to C main() doesn't exist on the managed side. We need to shift
everything by one.

The logic to do that was lost at some point.

As the comment above the line I'm changing states - the first argument
passed to C main() doesn't exist on the managed side. We need to shift
everything by one.

The logic to do that was lost at some point.
@MichalStrehovsky

Copy link
Copy Markdown
Member Author

@nattress Can you please have a look?

@nattress

Copy link
Copy Markdown
Contributor

LGTM

@MichalStrehovsky
MichalStrehovsky merged commit 8933d85 into dotnet:master Apr 12, 2016
@MichalStrehovsky
MichalStrehovsky deleted the commandLineArgs branch April 12, 2016 22:18
MichalStrehovsky added a commit to MichalStrehovsky/corert that referenced this pull request Apr 25, 2016
My fix in dotnet#1127 fixed arguments to `Main` but broke
`Environment.GetCommandLine`. Make sure both work this time...
MichalStrehovsky added a commit to MichalStrehovsky/corert that referenced this pull request Apr 26, 2016
My fix in dotnet#1127 fixed arguments to `Main` but broke
`Environment.GetCommandLine`. Make sure both work this time...
MichalStrehovsky added a commit that referenced this pull request Apr 26, 2016
* Make Environment.GetCommandLineArgs work

My fix in #1127 fixed arguments to `Main` but broke
`Environment.GetCommandLine`. Make sure both work this time...

* Make Hello world test command line args
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants