Re: invoquing wine

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.



_______________________________________________ wine-users mailing list wine-users@xxxxxxxxxx http://www.winehq.com/mailman/listinfo/wine-users

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux