Skip to content

Conversation

@gonX
Copy link
Member

@gonX gonX commented Oct 2, 2023

Fixes #2898

@gonX gonX added enhancement New feature or request console Affects the OpenTabletDriver console utility labels Oct 2, 2023
Copy link
Member

@X9VoiD X9VoiD left a comment

Choose a reason for hiding this comment

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

It's probably better to instead have a timeout or check for existence of the global mutex to not break use of OTD.CLI in a shell.

@gonX
Copy link
Member Author

gonX commented Oct 31, 2023

Makes sense, maybe outputting to STDERR is better? Is that a thing on Windows?

@gonX gonX marked this pull request as draft October 31, 2023 20:25
@X9VoiD
Copy link
Member

X9VoiD commented Oct 31, 2023

It'll still be too noisy, every call to otd cli will cause that to be printed out to stderr.

@gonX gonX requested a review from X9VoiD November 6, 2023 17:43
@gonX gonX marked this pull request as ready for review November 6, 2023 17:43
@gonX gonX changed the title Console: Output connection attempt on launch Console: Check for presence of Daemon before attempting to connect Nov 6, 2023
@X9VoiD X9VoiD merged commit 75ea2d1 into OpenTabletDriver:master Nov 6, 2023
@gonX gonX deleted the console-notify-on-launch branch November 21, 2023 06:27
@X9VoiD X9VoiD added the needs-backport PR or its features needs to be backported to stable branch label Dec 10, 2023
@X9VoiD X9VoiD removed the needs-backport PR or its features needs to be backported to stable branch label Dec 10, 2023
@gonX gonX added the backport-added A backport is already merged label Oct 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-added A backport is already merged console Affects the OpenTabletDriver console utility enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Console application (otd) should notify of daemon connection early on launch

2 participants