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

feat: support parsing fd redirects #107

Merged
merged 5 commits into from
Mar 21, 2024

Conversation

dsherret
Copy link
Member

@dsherret dsherret commented Jan 27, 2024

Waiting on #106

This implements fd redirects in the parser (because I want it for Dax). We can do the shell implementation later.

@dsherret dsherret marked this pull request as ready for review January 29, 2024 23:39
TestBuilder::new()
.command(r#"cat - <&0"#)
.assert_stderr(
"deno_task_shell: redirecting file descriptors is not implemented\n",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We at least have a nicer error message now.

Copy link
Member

@bartlomieju bartlomieju left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, no comments

@dsherret dsherret merged commit 32580d9 into denoland:main Mar 21, 2024
4 checks passed
@dsherret dsherret deleted the feat_support_parsing_fd_redirects branch March 21, 2024 00:37
dsherret added a commit to denoland/deno that referenced this pull request Mar 21, 2024
* feat: implement exit status var
(denoland/deno_task_shell#110)
* feat: support input redirects
(denoland/deno_task_shell#106)
* feat: support output fd redirects for stdout and stderr
(denoland/deno_task_shell#111)
* feat: support parsing fd redirects
(denoland/deno_task_shell#107)
* fix: exit error code on arg parse failure
(denoland/deno_task_shell#112)

Closes #22989
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

Successfully merging this pull request may close these issues.

2 participants