How to properly quote [
in cmd?
#124
-
SummaryI've found #60 and 2f2e6a3, but I didn't find any documentation about how I can escape For example, I'd like to create a file that doesn't exist. Is it possible to use |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
hi @vitoyucepi, Could you describe in a bit more detail what you're trying to do and how? I'm not sure what the issue with escaping is, but I see you're trying to use shell syntax so you need to make sure the task is a shell task. The following should work: setup.shell = "if [ ! -f test ]; then touch test; fi" Also #12 might be interesting for you as well, though there's no ETA as of yet. |
Beta Was this translation helpful? Give feedback.
hi @vitoyucepi,
Could you describe in a bit more detail what you're trying to do and how?
I'm not sure what the issue with escaping is, but I see you're trying to use shell syntax so you need to make sure the task is a shell task. The following should work:
Also #12 might be interesting for you as well, though there's no ETA as of yet.