Project

General

Profile

program not starting with a "Error: unknown option parent-port"

Added by mat Sch over 10 years ago

changed default config to use dedicated-process and received an error on startup. using the whttpd connector.

Error: unknown option parent-port

I'm trying 3.3.4-rc1.

I assume I have a configuraiton issue. Any advice?

Thanks,

-mat


Replies (1)

RE: program not starting with a "Error: unknown option parent-port" - Added by Roel Standaert over 10 years ago

When using the dedicated processess option, the same application will be started as a child, with the same command line options, but with one extra option: "---parent-port". The wthttpd connector responds to unknown options with "unrecognized option", so I think you do some of your own processing of command line options. If that's the case, just pass on the option "parent-port" to the child process. The child process needs this to be able to communicate with its parent.

    (1-1/1)