[Wine] access shell from programs run with wine
James E. Lang
jim at lang.hm
Fri Nov 13 12:34:37 CST 2009
--On Friday, November 13, 2009 12:10:30 AM -0600 vitamin
<wineforum-user at winehq.org> wrote:
>
> jelang wrote:
>> the following script which works like a charm:
>> # !/bin/bash
>>
>> kate $(echo "${1}" | sed \
>> -e 's+[cC]:\\+'$HOME'\/\.wine\/drive_c\/+' \
>> -e 's+\\+/+g')
>
> RTFM my friend. Wine has 'winepath' program for that. Which actually works in
> all cases. http://wiki.winehq.org/winepath
Thank you Ma'am. I was unaware of that tool's existence. I am not sure how it
would be used to invoke a program with a Linux style path passing it a data
file with a Windows style path.
--
Jim
More information about the wine-users
mailing list