Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support relative paths #118

Open
Bartleby2718 opened this issue May 27, 2024 · 3 comments
Open

Support relative paths #118

Bartleby2718 opened this issue May 27, 2024 · 3 comments

Comments

@Bartleby2718
Copy link

Filing a separate issue (per #111 (comment)) to avoid a scope creep

@Bartleby2718
Copy link
Author

Bartleby2718 commented May 28, 2024

Sample LINQPad code on Windows #116):

void Main()
{
	Command.Run(
		@"C:\Program Files\dotnet\dotnet.exe",
		new[] { "--version" })
		.GetOutputAndErrorLines()
		.Dump();
}

but the following fails:

void Main()
{
	Command.Run(
		@".\dotnet.exe",
		new[] { "--version" },
		o => o.WorkingDirectory(@"C:\Program Files\dotnet\"))
		.GetOutputAndErrorLines()
		.Dump();
}

@Bartleby2718
Copy link
Author

@madelson This doesn't have to be an option, right?

Bartleby2718 added a commit to Bartleby2718/MedallionShell that referenced this issue May 28, 2024
@Bartleby2718
Copy link
Author

^A pull request has been staged. Will file a PR in this repo if all tests pass and the Mono PR is merged.

Bartleby2718 added a commit to Bartleby2718/MedallionShell that referenced this issue May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant