Skip to content

Conversation

yeputons
Copy link
Contributor

This is based on #7 - I've added one more specific test and arguments escaping.

spawn.js Outdated
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it should be return '""';

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unfortunatelly, it won't be compatible with Node (link). I think that's bug rather than a feature, but it would be better to clarify. I've already created an issue for that (nodejs/node-v0.x-archive#7138) and got no answer.

What about adding a link to this issue in comments?

@yeputons
Copy link
Contributor Author

@joshski as nodejs/node-v0.x-archive#7138 is now closed, I've added proper handling for empty arguments (together with test). Would you mind taking a look and merging it? I close #7, because it's a strict subset of this pull request.

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.

2 participants