We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63f2ff9 commit e421ad2Copy full SHA for e421ad2
bin/send-command
@@ -1,7 +1,8 @@
1
#!/bin/bash
2
3
if [[ $* ]]; then
4
- if proc=$(find /proc -mindepth 2 -maxdepth 2 -name exe -lname '/data/bedrock_server-*' -printf '%h' -quit); then
+ # On arm64, the process exe is actually box64 since it in turn wraps the bedrock_server executable
5
+ if proc=$(find /proc -mindepth 2 -maxdepth 2 -name exe \( -lname '/data/bedrock_server-*' -o -lname /usr/local/bin/box64 \) -printf '%h' -quit); then
6
if [[ $proc ]]; then
7
echo "$@" > "$proc/fd/0"
8
else
0 commit comments