environment a
initialshells:b
postnotice:"Entering environment"
{
    menu b
    (
	button "Run a command" 
	    postnotice:"I'll notify you when I'm done, NOT!!"
	    captureoutput:editor
	    runbackground:"xclock"
	    ;
	button "Run a command (notify when complete)" 
	    captureoutput:editor
            notifycomplete:true
	    runbackground:"xclock"
postnotice:"I'll notify you when I'm done"
	    ;
	button "Quit" 
	    exit:0
	    ;
    )
}
