mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 14:11:15 +00:00
![]() Previously, the PIDs of any running instances of the game on the remote device were found with `pgrep`, whose output was passed as parameters to `kill`. The problem with doing this is that passing zero arguments to `kill` (which happens when no instances of the game are running remotely) is an error: it shows the command usage, and exits with status 2 indicating a command-line syntax error: $ kill kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec] $ echo $? 2 As far as I can tell, all systems that have a `pgrep` command also have a `pkill` command which accepts (a superset of) the same parameters as `pgrep` and kills the matched processes instead of listing them on STDOUT. In the case where no processes match, `pkill` exits with status 1; but does so silently. Invoke `pkill` rather than `pgrep` + `kill`. |
||
---|---|---|
.. | ||
doc_classes | ||
export | ||
wayland | ||
x11 | ||
crash_handler_linuxbsd.cpp | ||
crash_handler_linuxbsd.h | ||
dbus-so_wrap.c | ||
dbus-so_wrap.h | ||
detect.py | ||
fontconfig-so_wrap.c | ||
fontconfig-so_wrap.h | ||
freedesktop_at_spi_monitor.cpp | ||
freedesktop_at_spi_monitor.h | ||
freedesktop_portal_desktop.cpp | ||
freedesktop_portal_desktop.h | ||
freedesktop_screensaver.cpp | ||
freedesktop_screensaver.h | ||
godot_linuxbsd.cpp | ||
msvs.py | ||
os_linuxbsd.cpp | ||
os_linuxbsd.h | ||
platform_config.h | ||
platform_gl.h | ||
platform_linuxbsd_builders.py | ||
README.md | ||
SCsub | ||
speechd-so_wrap.c | ||
speechd-so_wrap.h | ||
tts_linux.cpp | ||
tts_linux.h | ||
xkbcommon-so_wrap.c | ||
xkbcommon-so_wrap.h |
Linux/*BSD platform port
This folder contains the C++ code for the Linux/*BSD platform port.
See also misc/dist/linux
folder for additional files
used by this platform.
Documentation
- Compiling for Linux/*BSD
- Instructions on building this platform port from source.
- Exporting for Linux/*BSD
- Instructions on using the compiled export templates to export a project.
Artwork license
logo.svg
is derived from the Linux logo:
Permission to use and/or modify this image is granted provided you acknowledge me lewing@isc.tamu.edu and The GIMP if someone asks.