Re: new CVS module: bonobo-extra



Hi,

On 04 Jun 2001 21:40:21 +0200, Dietmar Maurer wrote:
> I think we should discuss that on this list. So what do you want to add?

I was thinking of my BonoboProcess and exec moniker stuff...

---
BonoboProcess is a simple interface to system processes. It allows
signals to be sent to an existing process, notification if process death
(using EventSource), and getting at a process's stdin, out and err as
BonoboStreams.

I also created BonoboStreamFd, which is a Stream implementation for unix
file descriptors.

To make BonoboProcess useful, I created an exec moniker. It spits out a
new BonoboProcess given a string of the form: 

	exec:"/usr/bin/foo -lala"

Or, to execute on a remote host: 

	exec:"/usr/bin/foo -lala";host=cvs.gnome.org;rsh=ssh

Or, to execute as another user: 

	exec:"/usr/bin/foo -lala";user=root;password=toor

It also accepts a parent Stream or ProgressiveDataSink which gets used
as STDIN for the created process.
---

Anyways, there are a couple of open issues (security, and how the
moniker should work), so I thought it would make a good addition to
bonobo-extras.

-Alex

--
 make: *** No rule to make target `sense'.  Stop.






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