Okay, seems to work, but I'm struggling with linux shell syntax:
I thought that (vsViewer_withenv.sh):
would work and it does as long as there are no parameter to vsViewer.
Problem is when I use, for example
I get a 'File open error':
Seems like the exec call at the end of the vsViewer_withenv.sh script is not totally correct. :/
Any idea how this should look to work properly?
=> think I got it with
Cu Selur
I thought that (vsViewer_withenv.sh):
#!/bin/bash
scriptDir=$(dirname -- "$(readlink -f -- "$BASH_SOURCE")")
env="$HOME/bin/vapoursynth/env.sh"
if [ -f "$env" ]
then
echo "sourcing $env"
source "$env"
else
echo "'$env' does not exist!"
fi
vsViewer="$scriptDir/vsViewer"
sh -c "exec $vsViewer $@"
Problem is when I use, for example
"/home/selur/bin/hybrid/vsViewer_withenv.sh" --preview-only "/home/selur/Schreibtisch/HybridTemp/tempPreviewVapoursynthFile10_53_36_442.vpy" --aspect 1 --matrix Rec709 --crop off#0#0#0#0
Quote:failed to open the file --preview-only
Seems like the exec call at the end of the vsViewer_withenv.sh script is not totally correct. :/
Any idea how this should look to work properly?
=> think I got it with
exec -l "$vsViewer" "$@"
Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.