Skip to content

Conversation

@harikrishna12524
Copy link

In lib/daemon.js, when generating XML for scriptOptions,

it was generating as,
<argument>--scriptoptions=command_line_argument another_argument</argument>

But it is expected as,
<argument>--scriptoptions</argument> <argument>command_line_argument another_argument</argument>

So, corrected the code to generate as expected by the wrapper.

This implementation doesn't support the quoted commandline arguments with space like
node index.js "Hello world"
But, this should provide enough support to start using process arguments.

Please consider 😭 this PR.

Script for installing service.
image

Generate XML
image

@harikrishna12524
Copy link
Author

@coreybutler Please merge this 🥺 .

@harikrishna12524
Copy link
Author

@countnazgul @coolaj86 @cwalther @coreybutler Please look into this 🥺

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant