Files
vsix_runtime_checks/pipe_create.sh
T
2026-05-25 15:00:33 +03:00

18 lines
223 B
Bash
Executable File

#!/bin/bash
PIPE_PATH=$1
if [ "${PIPE_PATH}" == "" ]; then
echo "There is no defined path to pipe"
exit 1
fi
rm ${PIPE_PATH}
mkfifo ${PIPE_PATH}
if [ $? -ne 0 ]; then
echo "Can't create pipe"
exit 1
fi