14 Feb
2009
14 Feb
'09
7:15 p.m.
2009/2/15 Dan Kegel <dank(a)kegel.com>:
On Sat, Feb 14, 2009 at 2:33 PM, Ben Klein <shacklein(a)gmail.com> wrote:
Probably. It's worth trying out, but I have an idea to work around it:
#!/bin/sh DIR=`dirname "$1"` DIR=`cd "$DIR"; pwd` pushd "$DIR" wine "$@" & popd fg
I don't think that'll help, offhand.
Well, I suppose it would depend where the script is run from. If the problem is the shell staying in the CD directory until wine finishes, it should fix it. An alternative would be to replace pushd/popd with: cd "$DIR" and cd respectively ...
Maybe the original script will work just fine, I'll see if I can find a multi-disc game to test.
Let me know :)