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] or maybe not. my program gets detected as shell and gets re-executed by fastfetch #1205

Closed
BurningPho3nix opened this issue Aug 22, 2024 · 6 comments
Labels
enhancement New feature or request

Comments

@BurningPho3nix
Copy link

BurningPho3nix commented Aug 22, 2024

Be sure to read FAQ before submitting a new issue.

Wanted features:

please make it ignore setup-tool-cli and maybe setup-tool-cli-beta
in shell detection

Motivation:

Bug in my program

@BurningPho3nix BurningPho3nix added the enhancement New feature or request label Aug 22, 2024
@CarterLi
Copy link
Member

This issue should have been fixed in d0b72c5 (released in v2.21.0). What version of fastfetch do you use?

@BurningPho3nix
Copy link
Author

Tested it with fastfetch-2.21.2 on Fedora 40.

You can test as well. My program is available here:

https://copr.fedorainfracloud.org/coprs/burningpho3nix/Setup-Tool/

https://gitlab.com/setup-tooling-project

@CarterLi
Copy link
Member

If $FFTS_IGNORE_PARENT is set to 1, fastfetch will now ignore the parent process.

Simple test program works for me

#include <stdlib.h>

int main() {
        system("FFTS_IGNORE_PARENT=1 fastfetch");
}

@BurningPho3nix
Copy link
Author

So I just need to change the command I run?

When will the ignore be in a shipping version of ff?

@CarterLi
Copy link
Member

Should be in the next week.

@BurningPho3nix
Copy link
Author

Ok
Thanks

CarterLi added a commit to CarterLi/fastfetch that referenced this issue Aug 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants