spaCy project.yml script argument quoting #10434
jonbuffington
started this conversation in
Help: Best practices
Replies: 1 comment 1 reply
-
The project commands are executed with |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I noticed that the second argument of a script line is automatically quoted when executed. The automatic quoting interferes with the shell recognizing the globpat.
E.g., Given the following
project.yml
fragment:execution using spaCy 3.2.2 yields:
$ python -m spacy project run clean =================================== clean =================================== Running command: rm -f 'corpus/*.spacy'
where the automatic quoting interferes with the shell matching the .spacy files in the corpus directory.
As a work-around, I used
sh -c
:Is there an option to disable
spacy project run
's automatic second argument quoting?Beta Was this translation helpful? Give feedback.
All reactions