I'm trying to get a function working with the zenity notification dialog but
I can't send input for the process I started. It's as if it is saved and
when I close, the input is sent all at the same time. Here's the code I'm
trying

[in, out, pid] = popen2 ("zenity", {"--notification"; "--listen"})
fputs (in, "message: test1") # I was hoping that this showed a baloon saying
'test1' but it does not
fputs (in, "message: test2") # I was hoping that this showed a baloon saying
'test2' but it does not
fclose(in)                   # When I do this, I get a ballon saying 'test1
message: test2' but also closes it

What do I need to do to get the input to reach the process as I send it?
Thanks in advance,

Carnë Draug
------------------------------------------------------------------------------
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to