Skip to content

Add stdin, stdout, stderr options to StartShell struct#2699

Merged
andrewsun2898 merged 2 commits into
u-root:mainfrom
andrewsun2898:shell
Jun 21, 2023
Merged

Add stdin, stdout, stderr options to StartShell struct#2699
andrewsun2898 merged 2 commits into
u-root:mainfrom
andrewsun2898:shell

Conversation

@andrewsun2898

Copy link
Copy Markdown
Contributor

Allow users to specify stdin, stdout, and stderr options when running the shell.

@andrewsun2898 andrewsun2898 force-pushed the shell branch 2 times, most recently from 4f071ff to 71dc1f2 Compare June 20, 2023 05:42
@codecov

codecov Bot commented Jun 20, 2023

Copy link
Copy Markdown

Codecov Report

Patch and project coverage have no change.

Comparison is base (64837db) 75.42% compared to head (a7752fe) 75.43%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2699   +/-   ##
=======================================
  Coverage   75.42%   75.43%           
=======================================
  Files         414      414           
  Lines       42159    42168    +9     
=======================================
+ Hits        31800    31811   +11     
+ Misses      10359    10357    -2     
Impacted Files Coverage Δ
pkg/boot/menu/menu.go 63.26% <0.00%> (ø)
pkg/libinit/proc.go 0.00% <0.00%> (ø)

... and 2 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

MDr164
MDr164 previously approved these changes Jun 20, 2023

@rminnich rminnich left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I don't think this is a style we want to use, I'm curious to see what Chris thinks.

Comment thread pkg/boot/menu/menu.go Outdated
Allow users to specify stdin, stdout, and stderr options when running
the shell.

Signed-off-by: Andrew <andrewsun@google.com>

@rminnich rminnich left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

thanks, this feels a bit more in line with other u-root practice.

@rminnich rminnich added the Awaiting author Waiting for new changes or feedback for author. label Jun 21, 2023
@andrewsun2898 andrewsun2898 merged commit 59189ff into u-root:main Jun 21, 2023
@andrewsun2898 andrewsun2898 deleted the shell branch March 6, 2025 22:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Awaiting author Waiting for new changes or feedback for author.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants