invoquing wine

Duane Clark dclark at akamail.com
Fri Nov 28 11:23:18 CST 2003


christophe wrote:
> Hi Fabian,
> 
> I tried this already, sorry, I should have mentionned too.
> I even made a small script like this (for those who have interests in) :
> 
>  #!/bin/bash
>  #
>  ## -------- convert unix path into wine path with z:\ --------- 
>         if [ -z "$1" ]; then
>                  echo usage: $0 /unix/path/to/file
>                  exit
>         fi
>         echo "\"z:"$(pwd)/$1\" | sed 's/\//\\/g'
>  ## eof
> 
> for instance, I give :
> => cups-pdf/esf.pdf
> and I get :
> => "z:\home\christophe27cups-pdf\esf.pdf" (including the " signs)
> 
> Then the problem is still whole :
> * why can I start 'acroread cups-pdf/esf.pdf ' if you say I should use a 
> windows semantic

Try it in real Windows. I think you will find that in this case Windows 
treats forward and back slashes the same.

> * why does it work when givng in 'acroread 
> "z:\home\christophe27\cups-pdf\esf.pdf"' but not working with 'acroread 
> $(into_wine.sh cups-pdf/esf.pdf)'
> 

I think that (as mentioned by Fabian) the string $(into_wine.sh 
cups-pdf/esf.pdf) is being passed to acrobat, not executed.





More information about the wine-users mailing list