[Qt-interest] return to command line but the GUI is still alive
Forest Yang
yzine0511 at gmail.com
Sun Jan 24 20:19:34 CET 2010
Thanks ! I was too curious about the techniques to forget this simple one.
Just for curious, can we implement the similar thing without "&" ? I
saw this effect from a TCL/TK program and also Acrobat Reader.
One good future usage would be like Acrobat Reader, if there are files
opened, or one acroreader alive, when execute
$ acroread file.pdf
It just open a new tab in the reader and return to shell, even you did
not put a "&" at the end
Forest.
On Sun, Jan 24, 2010 at 2:06 PM, Christian Gagneraud
<cgagneraud at techworks.ie> wrote:
> On 01/24/2010 06:55 PM, Forest Yang wrote:
>>
>> Hi
>>
>> I am writing a simple code to plot some data with QWT, I want it to
>> be launched from command line and accept data from a pipe.
>> After I type the command, the plotting GUI appears, and return the
>> control to shell. The GUI can stay alive until I click the X button
>>
>> The standard app.exe() will wait until I send quit() to return to
>> shell control. But I don't want to wait.
>
> Why not simply from the shell:
>
> generatedatacommand | yourplotapp &
>
> The last '&' will send the process in the background.
>
>>
>> Any thoughts on this ?
>>
>> Thanks.
>>
>>
>> Forest
>> _______________________________________________
>> Qt-interest mailing list
>> Qt-interest at trolltech.com
>> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>
More information about the Qt-interest-old
mailing list