How to get new pid of sandbox? #6271
-
When I run weechat in a sandbox, its FIFO pipe is |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Have you tried Alternatively, use a shell script: #!/bin/sh
until _fifo="$(find "$XDG_RUNTIME_DIR" -maxdepth 1 -type p -name "weechat*")" > /dev/null; do
sleep 0.5
done
# show me the FIFO
echo "$_fifo"
# run a weechat command
echo "foo" > "$_fifo" & |
Beta Was this translation helpful? Give feedback.
-
And see https://blogs.oracle.com/linux/post/translating-process-id-between-namespaces |
Beta Was this translation helpful? Give feedback.
grep NStgid /proc/<PID>/status
should showNStgid: <PID> 9
.And see https://blogs.oracle.com/linux/post/translating-process-id-between-namespaces