Skip to content

it fails to correcly forward empty and space-containing arguments to the user process #98

Closed

Description

@holgerbrandl
kscript "println(args.size)" "" foo bar

should be 3 but 2 is reported

kscript "println(args.size)" "foo bar"

should be 1 but is 2

Activity

  1. self-assigned this
    on Jan 31, 2018
  2. holgerbrandl commented on Jan 31, 2018

    @holgerbrandl
    CollaboratorAuthor

    Even with arg-quoting it fails to forward correctly when using exec. Most likely because of https://unix.stackexchange.com/questions/160333/how-can-i-run-a-bash-variable-as-a-command-exactly-without-additional-quotation

  3. holgerbrandl commented on Jan 31, 2018

    @holgerbrandl
    CollaboratorAuthor
  4. changed the title [-]it fails to forward empty arguments to the user process[/-] [+]it fails to correcly forward empty and space-containing arguments to the user process[/+] on Jan 31, 2018
  5. holgerbrandl commented on Jan 31, 2018

    @holgerbrandl
    CollaboratorAuthor

    No clue how to fix it, feel welcome to contribute some ideas here!

  6. ilanpillemer commented on Feb 5, 2018

    @ilanpillemer
    Contributor

    Still stuck with #94

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions