cosmic-term icon indicating copy to clipboard operation
cosmic-term copied to clipboard

Add command line argument to allow a no-fork mode

Open sixpounder opened this issue 1 year ago • 1 comments

This is a quick edit I had to make in order to debug a slight issue I had on my system, and I thought could be useful to other people as well.

I did not add any fancy command line argument parser such as clap, just moved the command line argument parsing on top of the main function and allowed it to parse a --no-daemon argument to avoid process forking.

Forking is still the default behaviour.

sixpounder avatar Mar 14 '24 17:03 sixpounder

I've run into the same issue on other cosmic applications. I was thinking about making PRs for pretty much the same thing on some of the other cosmic applications as a compile time feature flag

Quackdoc avatar Apr 28 '24 16:04 Quackdoc