You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$glc-capture -s -l test.log -o test.glc sh -c "cd ~/.wine/drive_c/The\ Elder\ Scrolls\ V-\ Skyrim/ && wine TESV.exe" >/dev/null 2>&1
$cat test.log
[ 0.06s file error ] can't lock file: Die Ressource ist zur Zeit nicht verfügbar (11)
[ 0.06s main error ] can't start capturing: Die Ressource ist zur Zeit nicht verfügbar (11)
starting with the shortcut works fine
The text was updated successfully, but these errors were encountered:
The problem is that LD_PRELOAD starts glc in every child proccess (which uses a overridden function). Wine starts a lot child proccesses (wine-preloader) and glc locks the *.glc file in the wrong proccess.
There is no way to know if the current proccess is the one you want to record (at least no way that works automatically all the time) therefore glc should append a number to the filename if the file allready exists (filename.glc filename.glc.1 filename.glc.2 ...)
I'm not 100% sure, though.
starting with the shortcut works fine
The text was updated successfully, but these errors were encountered: