[Wine] Windows CLI Commands in Ruby freeze Wine application

Aerilius wineforum-user at winehq.org
Mon Sep 26 11:02:42 CDT 2011

I use a Wine application (Google SketchUp) that has Ruby as scripting language. I want to issue commands to the Windows cmd from within SketchUp/Ruby. When I write on the Ruby console in SketchUp:

puts `dir`
puts `cd`

it should return the result of that command, but it freezes SketchUp and the gnome-terminal gives this error after some seconds:
err:ntdll:RtlpWaitForCriticalSection section 0x136d24 "?" wait timed out in thread 0009, blocked by 0000, retrying (60 sec)

The command does work in wine cmd, and SketchUp has the correct path to find cmd.exe:


What could I do to solve this?

More information about the wine-users mailing list