Project

General

Profile

New session signal

Added by Trigve Siver over 3 years ago

Hi,
I'm using Wt with dedicated processes. I would like to communicate with the child process using stdin/stdout when the new child is spawned. The problem is I cannot find any signal that is fired when new session is created. I need in the "parent" process. Does this kind of signal exists?

Thanks


Replies (3)

RE: New session signal - Added by Roel Standaert over 3 years ago

We don't currently expose some sort of notification that a new child process was created, no. You could notify the parent process when the WApplication is being constructed, though.

RE: New session signal - Added by Trigve Siver over 3 years ago

Thanks for the reply.

Could you be more specific, please? I mean, is there some Wt functionality or you mean using some interprocess stuff?

RE: New session signal - Added by Roel Standaert over 3 years ago

That's not something built in to Wt. There sort of is, but it's not exposed at the moment. In one project we used Boost.Interprocess for IPC.

    (1-3/3)