Packages
backplane_agent_runtime
1.10.113
1.10.122
1.10.121
1.10.120
1.10.119
1.10.118
1.10.117
1.10.116
1.10.115
1.10.114
1.10.113
1.10.112
1.10.110
1.10.109
1.10.107
1.10.106
1.10.105
1.10.104
1.10.103
1.10.102
1.10.101
1.10.101-beta.1
1.10.100
1.10.99
1.10.98
1.10.97
1.10.96
1.10.95
1.10.94
1.10.93
1.10.92
1.10.91
1.10.90
1.10.89
1.10.88
1.10.87
1.10.86
1.10.85
1.10.84
1.10.83
1.10.82
1.10.81
1.10.80
1.10.79
1.10.78
1.10.77
1.10.76
1.10.75
1.10.74
1.10.73
1.10.72
1.10.71
1.10.70
1.10.69
1.10.68
1.10.67
1.10.66
1.10.65
1.10.63
1.10.62
1.10.61
1.10.60
1.10.57
1.10.56
1.10.55
1.10.54
1.10.53
1.10.52
1.10.51
1.10.50
1.10.49
1.10.48
1.10.47
1.10.46
1.10.45
1.10.44
1.10.43
1.10.42
1.10.41
1.10.40
1.10.39
1.10.38
1.10.37
1.10.36
1.10.35
1.10.34
1.10.32
1.10.31
1.10.30
1.10.29
1.10.28
1.10.27
1.10.26
1.10.25
1.10.24
1.10.23
1.10.22
1.10.21
1.10.20
1.10.19
1.10.18
1.10.17
1.10.16
1.10.15
1.10.14
1.10.13
1.10.12
1.10.11
1.10.10
1.10.9
1.10.8
1.10.7
1.10.6
1.10.5
1.10.4
1.10.3
1.10.2
1.10.1
1.10.0
1.9.0
1.8.3
1.8.2
1.8.1
1.8.0
1.7.9
1.7.8
1.7.7
1.7.6
1.7.5
1.7.4
1.7.3
1.7.2
1.7.1
1.7.0
1.6.0
Embedded Elixir/OTP runtime and opt-in tools for bounded independent agents.
Current section
Files
Jump to
Current section
Files
c_src/build_pty.sh
#!/usr/bin/env sh
set -eu
if [ "$(uname -s)" != Linux ]; then
echo 'The optional LocalCommand PTY helper requires Linux.' >&2
exit 1
fi
source_dir=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)
output=${1:-"$source_dir/../priv/bin/backplane-local-command-pty"}
mkdir -p "$(dirname -- "$output")"
artifact=$(mktemp "${output}.tmp.XXXXXX")
trap 'rm -f "$artifact"' EXIT HUP INT TERM
"${CC:-cc}" -std=c11 -O2 -Wall -Wextra -Werror -Wformat=2 \
"$source_dir/local_command_pty.c" -o "$artifact"
chmod 755 "$artifact"
"$artifact" --probe
mv -f "$artifact" "$output"