On Thu, Jul 17 2014, Chen Xue <[email protected]> wrote:
> We have an external program needs to be run in CSS GUI. I created a
> button to trigger this event, but I found it freezes CSS GUI after it
> runs. I have to use Ctrl-Z to stop this external program in terminal
> window, but it can't bring CSS alive.
Try backgrounding the process when you launch it by adding a '&' to the
end of the invocation line. This is necessary if the program being
launched is long running. CSS is probably hung waiting for the program
to return, which it's not.
Ctrl-Z also won't help, since that tells the program to suspend, which
keeps it alive, and therefore continuing to block the caller. I bet CSS
control will return once the child process is killed (Ctrl-C or the
like).
jamie.
Attachment:
pgpHGNuLRJZJl.pgp
Description: PGP signature
- References:
- CSS is frozen after starts an external program Chen Xue
- Navigate by Date:
- Prev:
EPICS Collaboration Meeting October 2014 mattei
- Next:
Driver for Linkam T95 System Controller? Lewis, Wayne
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
<2014>
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
CSS is frozen after starts an external program Chen Xue
- Next:
EPICS Collaboration Meeting October 2014 mattei
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
<2014>
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|