NeuronRobotics / nrjavaserial

A Java Serial Port system. This is a fork of the RXTX project that uses in jar loading of the native code.
Other
344 stars 143 forks source link

SerialPortEventListener not called for CTS if process is started with javaw.exe #198

Open akuhtz opened 3 years ago

akuhtz commented 3 years ago

Hello, I am using 5.2.1 on Win 10 x64 and java 8 (1.8.0_221). When I start my swing application with java.exe the state change of the CTS line is signalled in the SerialPortEventListener but if I run it with javaw.exe the SerialPortEventListener is not called.

The incoming data is signalled in both cases.

Might there be a context with the System.in that doesn't seem to be available when running with javaw.exe ?