Skip to content

Conversation

@augiedoggie
Copy link
Contributor

Fixes #144

@augiedoggie
Copy link
Contributor Author

augiedoggie commented Jan 24, 2026

There is an intermittent bug when calling RefsReceived() right after Init(). I'll have to work around that.

@augiedoggie augiedoggie force-pushed the getopt branch 2 times, most recently from 1234773 to e596938 Compare January 24, 2026 07:02
@augiedoggie
Copy link
Contributor Author

augiedoggie commented Jan 24, 2026

The intermittent bug seems unrelated to my changes since I can reproduce it on my other computer without these changes.

I like this version better because Koder always forks to the background unless --wait is used. Without this change, the first instance of Koder will always block even without --wait.

Reading data from stdin and sending it to the app might be complex and require a shared memory buffer or something, but that was already the case before this change.

default:
_PrintUsage();
return 1;
break;
Copy link
Owner

Choose a reason for hiding this comment

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

Unnecessary break

@augiedoggie
Copy link
Contributor Author

I may end up closing this pull request and thinking about the problem more. I keep running into issues with whichever method I use. The most recent version is broken when being launched by Tracker and other apps.

It's possible Koder may need a small companion app to handle some command line options, similar to Pe/lpe.

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.

Koder crashes when beeing asked to open file with nonexistant intermediate directory

2 participants