Open
Description
There's a distinct lack of argument quoting in the shell scripts, so arguments with spaces or e.g. globbing characters like ?
or *
break things. Of course, users probably shouldn't use spaces in these arguments, but the programs also preferably shouldn't break...
Repro:
$ mkdir "foo bar"
$ cd "foo bar"
$ echo tqdm > requirements.txt
$ mkdir "bar foo"
$ pip-containerize new --slim --prefix "bar foo" requirements.txt
[ INFO ] Constructing configuration
[ INFO ] Using /tmp/cw-XBIMVU as temporary directory
stat: cannot statx './bar': No such file or directory
stat: cannot statx 'foo/': No such file or directory
chgrp: missing operand after ‘/tmp/cw-XBIMVU’
Try 'chgrp --help' for more information.
[ ERROR ] Set CW_DEBUG_KEEP_FILES env variable to keep build files
Terminated
$