Corinna Vinschen wrote: > What happens if you replace the single quotes ' with double quotes "? No doesn't work... :( Charles Wilson wrote: > What is the result of executing the previous line directly from a bash shell (with --run-debug=2 --run-nogui)? > > $ /usr/bin/run.exe --run-debug=2 --run-nogui bash -l -c 'rm -rf /tmp/{.X*,dbus*,orbit*,*}; XWin -nowgl -multiwindow -clipboard -silent-dup-error 2>/dev/null &' it aborts: $ /usr/bin/run.exe --run-debug=2 --run-nogui bash -l -c 'rm -rf /tmp/{.X*,dbus*,orbit*,*}; XWin -nowgl -multiwindow -clipboard -silent-dup-error 2>/dev/null &' run DEBUG: opt_loglevel: 8 run DEBUG: opt_nogui : 1 run DEBUG: opt_notty : 0 run DEBUG: opt_wait : 0 run DEBUG: PATH: .:/usr/bin:/usr/local/texlive/bin/i386-cygwin:/usr/local/bin:/usr/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/usr/local/ROOT/bin:/usr/local/cernlib/2006/bin:/usr/lib/lapack run DEBUG: exec_tmp /usr/bin/bash.exe pathlist .:/usr/bin:/usr/local/texlive/bin/i386-cygwin:/usr/local/bin:/usr/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/usr/local/ROOT/bin:/usr/local/cernlib/2006/bin:/usr/lib/lapack run DEBUG: /usr/bin/bash.exe run DEBUG: exec C:\cygwin-2\bin\bash.exe execname bash execpath /usr/bin run DEBUG: C:\cygwin-2\bin\bash.exe -l -c rm -rf /tmp/{.X*,dbus*,orbit*,*}; XWin -nowgl -multiwindow -clipboard -silent-dup-error 2>/dev/null & run DEBUG: target is gui? no run DEBUG: Launch non-GUI target run DEBUG: have console? no run DEBUG: Setting up invisible console using separate WindowStation run DEBUG: have console? no run DEBUG: Succeeded in setting up console on separate Window Station? yes run DEBUG: Configuring start info for child process run DEBUG: Have a console, and not requesting pipes: connecting child stdio to console Aborted (core dumped) with an empty stackdump, $ cat run.exe.stackdump Stack trace: Frame Function Args If I remove "rm -rf /tmp/{.X*,dbus*,orbit*,*}; ", i.e. I use: $ /usr/bin/run.exe --run-debug=2 --run-nogui bash -l -c 'XWin -nowgl -multiwindow -clipboard -silent-dup-error 2>/dev/null &' it aborts in the same way but open a big black window named Cygwin/X:0.0. When I close it also the X server quits... I have attached the cygcheck -svr output. Ciao, Angelo.