Skip to content

Commit d0a4002

Browse files
committed
fix: ensure stdin is attached to to latex exec
This resolves the problem that the shell closes when run via tcp docker host.
1 parent 99d379f commit d0a4002

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/shell/latex_run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
# This script is copied into tmp/rails-latex/$WORK_DIR/ and executed by rails-latex
33

44
WORK_DIR=$(basename "$PWD")
5-
docker exec -t $LATEX_CONTAINER_NAME ${LATEX_BUILD_PATH:-/texlive/shell/latex_build.sh} $WORK_DIR
5+
docker exec -it $LATEX_CONTAINER_NAME ${LATEX_BUILD_PATH:-/texlive/shell/latex_build.sh} $WORK_DIR

0 commit comments

Comments
 (0)