-
Hi community, I'm trying to send the following shell-command via "Execute a process" step. clamdscan --remove /way/to/my/file/file withspace.txt As you can see, the file includes a whitespace, which leads to an error "Can't access file". In order to fix this, I tried to use quotes, double quotes and : clamdscan --remove "/way/to/my/file/file withspace.txt" Although this works, when I directly send the command from the server shell (ubuntu), this doesn't work, when I send these exact changes to the "Execute a process" transform. So I guess the way this transform sends the command is the problem. Any file without whitespace works perfectly fine. Does anyone here have another good idea how to workaround this? Many thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Divide your command in three fields: process_field = clamdscan |
Beta Was this translation helpful? Give feedback.
Divide your command in three fields:
process_field = clamdscan
action_field = --remove
file_field = /way/to/my/file/file\ withspace.txt
and try this: