这是indexloc提供的服务,不要输入任何密码
Skip to content

Quotes over ssh still not working #2322

@ebeigarts

Description

@ebeigarts

The issue seems to be the same as #345.

  • uname -a: Linux 4.4.0-21-generic Bootstrapping improvements #37-Ubuntu SMP x86_64 (Ubuntu 16.04 LTS)
  • docker version: 1.11.2
  • docker run -ti gliderlabs/herokuish:latest herokuish version: not installed
  • dokku version: 0.6.5

How was dokku installed?: apt-get install dokku

Actual Results:

$ ssh -t dokku@example.com -- run myapp echo Hello
Hello

$ ssh -t dokku@example.com -- run myapp bash -c 'echo Hello'


$ ssh -t dokku@example.com -- run myapp bash -c "echo Hello"


$ ssh -t dokku@example.com -- run myapp 'bash -c "echo Hello"'
Hello": -c: line 0: unexpected EOF while looking for matching `"'
Hello": -c: line 1: syntax error: unexpected end of file

$ ssh -t dokku@example.com -- run myapp bash -c \"echo Hello\"
Hello": -c: line 0: unexpected EOF while looking for matching `"'
Hello": -c: line 1: syntax error: unexpected end of file

Expected Results:

$ dokku run myapp echo Hello
Hello

$ dokku run myapp bash -c 'echo Hello'
Hello

$ dokku run myapp bash -c "echo Hello"
Hello

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions