mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-29 03:40:35 +08:00
a9070ce6e6
It seems that the oneline to find the process ID of any running jMAVSim instance was not working correctly. 1. On Linux, the name of the process does not contain Simulator but jmavsim_run.jar. Also, it triggers incorrectly, if you have opened Simulator.java using the command line :). 2. The cutting to get the PID at the end does not work as intenteded and gives the username instead of PID, at least on Arch Linux. Using awk should fix this.