[GRASS-dev] Re: [GRASSGUI] why won't this execute in cmd.py?
Glynn Clements
glynn at gclements.plus.com
Mon Jun 11 09:12:35 EDT 2007
Michael Barton wrote:
> Any idea why this won't execute in cmd.py?
>
> cmdlst = ['d.mon','start=%s' % xmon, '&']
> p = cmd.Command(cmdlst)
Is the '&' supposed to be an argument? Shell syntax won't work if you
aren't using a shell.
If you want to run a command in the background, use Command(..., wait=False).
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-dev
mailing list