[Pytest-commit] Issue #212: escaping curly braces in a tox command doesn't work (hpk42/tox)

taleinat issues-reply at bitbucket.org
Sun Feb 1 20:46:46 CET 2015


New issue 212: escaping curly braces in a tox command doesn't work
https://bitbucket.org/hpk42/tox/issue/212/escaping-curly-braces-in-a-tox-command

taleinat:

I was trying to delete a few specific files using the "find" command, but couldn't get tox to ignore the required curly braces in the command:

```
py26 runtests: commands[2] | find /Users/.../dev/.../.tox/py26 -name *.so -exec rm \{\} +
WARNING:test command found but not installed in testenv
  cmd: /usr/bin/find
  env: /Users/.../dev/.../.tox/py26
Maybe forgot to specify a dependency?
find: -exec: no terminating ";" or "+"
ERROR: InvocationError: '/usr/bin/find /Users/.../dev/.../.tox/py26 -name *.so -exec rm \\{\\} +'
```

My environment:

* OSX 10.8
* Python 3.4.2 (installed via pyenv)
* tox 1.8.1 (installed via pip)




More information about the pytest-commit mailing list