
27 Jun
2008
27 Jun
'08
10:05 p.m.
On Fri, Jun 27, 2008 at 09:30:08AM -0400, Brandon S. Allbery KF8NH wrote:
On 2008 Jun 27, at 9:26, Jesús Guerrero wrote:
# do some setup stuff exec xmonad x-terminal-emulator
thus giving either xmonad, or if it fails (never!) an xterm to at least show that X is working. I am happy to be educated otherwise ;)
That would start xmonad AND (not OR) x-terminal-emulator.
If the exec succeeds, nothing after it is executed.
Exactly. exec *replaces* the shell process with the specified command. If for some reason the wm doesn't launch, then the script continues to the x-terminal-emulator. At least that's how I understand it. And the proof is in the execution, I definitely do not get *both* using exec. A