Re: About passing in user-defined command-line args...

1,409 views
Skip to first unread message

Zidad

unread,
Nov 20, 2012, 7:22:49 AM11/20/12
to topshelf...@googlegroups.com
Thanks for sharing, I was running into the same problem...

On Saturday, October 20, 2012 1:09:49 AM UTC+2, Hugh Williams wrote:
Sorry, my previous post hasn't been moderated, so I can't reply to it yet.

I figured it out: I needed to handle it in the HostFactory.Run call:

            HostFactory.Run(
                x =>
                    {
                        x.AddCommandLineDefinition("config", config => { Log.DebugFormat("config was set to: {0}", config);});

Reply all
Reply to author
Forward
0 new messages