This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: Console anyone ?
Hi Igor,
Igor Pechtchanski <pechtcha@cs.nyu.edu> writes:
> C:\cygwin\bin\run.exe C:\cygwin\bin\bash.exe --login -c
> "(/usr/bin/X11/xterm -display localhost:0 -bg \#000000 -rv -fn 10x20
> -rw -cu -si -sk -sb -sl 5000 +cn -T pechtcha-lt -n pechtcha-lt
> >/dev/null 2>&1 &)"
I get a console pop up and go away again with
run bash -c "(xterm >/dev/null 2>&1 &)"
But not when I leave out any of ">/dev/null", "2>&1" or "&". Looks
like it's something to do with this combination of redirections and
background execution. As the redirected output goes to an invisible
console created by "run" anyway, you should be fine with a simple
run bash -c "exec xterm"
(Plus your other options and paths, of course ;-)).
so long, benny