Re: Is there a way to spawn processes from the XWin login shell?

2013-03-27 Thread Thiago Padilha
Actually, I use windows shortcut with the following command line: C:\cygwin\bin\run.exe /usr/bin/zsh -l -c 'exec startxwin' I'm guessing the startxwin is responsible for setting up the login environment. Still, the only way to start processes inheriting from the login shell seems to be by using

Re: Is there a way to spawn processes from the XWin login shell?

2013-03-27 Thread Jon TURNEY
On 23/03/2013 00:02, Thiago Padilha wrote: XWin uses a login shell to configure its environment when it starts up, and processes spawned from the tray icon inherit XWin environment so they don't have to be spawned from login shells. Is there a way to achieve the same effect without using a

Re: Is there a way to spawn processes from the XWin login shell?

2013-03-27 Thread Thiago Padilha
As you have shown me, I probably overcomplicated my question. It would have been simpler if I asked: 'can I make XWin start child processes without using the tray icon?' :) The reason I was trying to do that is because my zsh login scripts set things that only make sense once in a traditional

Is there a way to spawn processes from the XWin login shell?

2013-03-22 Thread Thiago Padilha
XWin uses a login shell to configure its environment when it starts up, and processes spawned from the tray icon inherit XWin environment so they don't have to be spawned from login shells. Is there a way to achieve the same effect without using a tray icon? For example, can I have a desktop