Skip to content

Problem using WithStartParameter #5

Description

@SimonHellings

Hi; This is a long shot but I've just run into this and think it is a great addition but I've run into a problem.

when I call WithStartParameter it doesn't seem to install correctly

If I use the constant method it appears to work fine:
x.WithStartParameter("config", "test", Function(a) myVar = a)

and installing with
MyApp.exe install

results in this in my startup params of my service:
-config "test"

However this:
x.WithStartParameter("config", Function(a) myVar = a)

using MyApp.exe install -config "test"
results in this being installed:
-tsspconfig "test"

Please advise - I thought I had followed the instructions closely.

Thank you in advance for your time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions