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

How to hide the output from cset shield? #44

Open
fadhilkurnia opened this issue Jun 17, 2022 · 2 comments
Open

How to hide the output from cset shield? #44

fadhilkurnia opened this issue Jun 17, 2022 · 2 comments

Comments

@fadhilkurnia
Copy link

When running a program inside the shield, I get this kind of output:

cset: --> last message, executed args into cpuset "/user", new pid is: 14669

Is there any option to hide that output?
I want to hide that specific output, but not the output from the program that runs inside the shield.

Thanks

@Werkov
Copy link
Member

Werkov commented Jun 17, 2022

The setup code and program proper share the same file descriptors (namely stdout), so I don't see an obvious way how to split their outputs.
However, the reported message could be downgraded to debug (I mean it'd be acceptable change to the code).

@Werkov
Copy link
Member

Werkov commented Jun 23, 2022

Cross-link to a popular demand, #39.

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

2 participants