ts678
February 7, 2024, 5:38pm
5
Since this just got treated as a feature request, I changed its category to make it a bit easier to see.
GitHub is a better tracker (but less visible for most users), so I’ll point to that enhancement request:
opened 01:41PM - 12 Dec 17 UTC
enhancement
- [x] I have searched open and closed issues for duplicates.
----------------… ------------------------
## Environment info
- **Duplicati version**: 2.0.2.1-1
- **Operating system**: Ubuntu 16.04.3 LTS
- **Backend**: local filesystem
## Description
I need to call a script with arguments but when I call the task I get:
`ApplicationName='/home/foo/bar.sh jhon doe', CommandLine='', CurrentDirectory='', Native error= Cannot find the specified file`
## Steps to reproduce
1. Install duplicati
2. Configure a backup with the option `run-script-before-required`
3. Give to your scripts arguments
- **Actual result**:
The backup fails with this log `ApplicationName='/home/foo/bar.sh jhon doe', CommandLine='', CurrentDirectory='', Native error= Cannot find the specified file`
- **Expected result**:
The backup calls the script `'/home/foo/bar.sh` sending `jhon` and `doe' as arguments.
Thanks
Similar existing forum Features request:
I need to call a script with arguments but when I call the task I get:
ApplicationName='/home/foo/bar.sh jhon doe', CommandLine='', CurrentDirectory='', Native error= Cannot find the specified file
¿How should I call the options for using arguments?
Thanks a lot