help-octave
[Top][All Lists]
Advanced

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

Re: sending messages to an already-running instance of octave


From: Mike Miller
Subject: Re: sending messages to an already-running instance of octave
Date: Sun, 18 Jun 2017 12:18:26 -0700
User-agent: NeoMutt/20170113 (1.7.2)

On Sat, Jun 17, 2017 at 22:21:46 -0700, Dan Hitt wrote:
> Suppose that i start octave from the command line or otherwise, and am
> interacting with it.
> 
> And suppose that i then run some other program.
> 
> Is there any way that the other program can send commands and data to
> my running octave, through dbus or any other ipc method?
> 
> The only requirements are that the user should not have to do anything
> to octave to make it respond (e.g., the user should not have to tell
> octave to open a particular file), and the other program and octave
> should be unrelated processes (although owned by the same user).
> 
> (The kinds of commands would be things that a user could presumably
> directly do, like make plots, or inquire about the internal state of
> octave, and the data would be numerical.)
> 
> TIA for any info or suggestions.

Others have been very helpful. I just wanted to mention that I have been
interested in working on a dbus interface for Octave, but nothing exists
yet that I know of. Let me know if you are interested in helping,
brainstorming, designing, funding, or otherwise.

Octave's Python interface is in development but is fairly functional at
the moment. Using it you might be able to launch some kind of dbus event
loop from within Octave. However there are no facilities to call back
into Octave from Python yet.

-- 
mike



reply via email to

[Prev in Thread] Current Thread [Next in Thread]