libunique -- stdout, stderr redirecting to running instance, and not calling client

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

I've an application using libunique -- which is working fine.  But one
thing this application does is print out key information, for
instance:

% ./foo -z
output_printed

Which in this case, starts "foo" and prints out "output_printed".  On
subsequent calls to foo, like this:

% ./foo -z
output_printed

"output_printed" is sent to the STDOUT of the original "foo" process,
and not the process I just run.  Is there a clever way around this?  I
need to capture the output from each run and use it elsewhere, and I
can't do that at the moment, as all messages sent via libunique's API
ensure the resultant output is to the single-running process.

Michael
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list


[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux