dnanexus-archive / dx-cwl

Import and run CWL workflows on DNAnexus (alpha)
Apache License 2.0
13 stars 6 forks source link

Quote command line arguments to handle spaces in paths #27

Closed chapmanb closed 6 years ago

chapmanb commented 6 years ago

Geet and Yih-Chii; This tries to avoid issues when projects, directories or files contain spaces. It quotes command line arguments, trying to avoid incorrect dx and other commands. Here's an example failing job that triggered this change:

dx watch job-FK371kQ0BP5F437P5YfXBy9Y

I could definitely use a review to see if I missed other places where spaces might cause issues. Thanks much.