profesorfalken / jProcesses

Get crossplatform processes details with Java
Apache License 2.0
63 stars 26 forks source link

command string parsing fails with characters above 127 #21

Open upeuker opened 7 years ago

upeuker commented 7 years ago

Parsing of the command line fails with some characters:

Sample: Parsed in the Java-String: /usr/bin/java -cp target/test-classes de.bsvrz.sys.startstopp.process.TestInkarnation -M-CM-<Umlaut

Output from the terminal: 10939 /usr/bin/java -cp target/test-classes de.bsvrz.sys.startstopp.process.TestInkarnation -üUmlaut

Seems to be a kind of the encoding problem described here: https://github.com/profesorfalken/WMI4Java/issues/10

( Info: Results taken with MacOs 10.12.5 and Java 1.8.0_131)

profesorfalken commented 7 years ago

Hello @upeuker ,

I have made a return on your issue: profesorfalken/WMI4Java#10.

Basically, I am going to build a 1.6.4 version of jProcesses in order to solve this issue. Shold be ready tomorrow on Maven Central.

Best regards,