mirror of
https://github.com/NyaMisty/docker-wine-ida.git
synced 2026-06-21 02:26:47 +08:00
15 lines
No EOL
438 B
Bash
15 lines
No EOL
438 B
Bash
#!/usr/bin/env bash
|
|
echo $@
|
|
connfile="${@: -1}"
|
|
connfile=$(realpath "$connfile")
|
|
echo "conn file linux path: $connfile"
|
|
|
|
mkdir -p ~/.wine/drive_c/Windows/Temp/jupyter_runtime
|
|
cp $connfile ~/.wine/drive_c/Windows/Temp/jupyter_runtime
|
|
|
|
#connfile='C:\Windows\Temp\'$(basename "$connfile")
|
|
connfile=Z:${connfile//\//\\}
|
|
|
|
export JUPYTER_CONNECTION=$connfile
|
|
echo "conn file wine path: $JUPYTER_CONNECTION"
|
|
"${@: 1:${#@}-1}" 2>&1 | tee test.log |