anchor.diff:    run_command  "nona" "-o" "$TEMPDIR/$OUTTMPNAME" \
                  "-m" "TIFF_m" \
                  "-z" "LZW" \
  -               $PTOTMPL \
  +               "$3" \
                  "$1" \
                  "$1"
   
  
positive.code: 
  set LOCALINNAME=%1
  set LOCALOUTNAME=%2
  
  rem Execute commands (as simple as it is)
  echo Processing input images (nona)
  "%HUGINPATH1%/nona.exe" -o %TEMP%/%OUTTMPNAME% ^
                -m TIFF_m ^
                -z LZW ^
                %PTOTMPL% ^
                %LOCALINNAME% ^
                %LOCALINNAME%
  if %ERRORLEVEL% equ 1 goto NONAERROR
  
negative.code:     fi
  }
  
  # Function to check if a command fails, arguments:
  # - command to execute
  # Source:
  # http://stackoverflow.com/questions/5195607/checking-bash-exit-status-of-several-commands-efficiently
  run_command() {
      "$@"
  