opened
peavers
username_0
Hello, 

Firstly sorry if this isn't even related to this project and is a JCommander issue; 

I'm attempting to start a new task but I receive:
```
[...] Was passed main parameter '--video .' but no main parameter was defined in your arg class
```

The request is built up as such:
```
    final List<String> commandArgsList = new ArrayList<>();
    commandArgsList.add("--video " + location);

    final TaskLaunchRequest request = new TaskLaunchRequest(url, commandArgsList, null, null, null);
```

However using the exact command printed to the console from `LocalTaskLauncher` works as expected (includes the args).  

I see a similar/related issue from 2017 https://github.com/spring-cloud/spring-cloud-deployer-local/issues/62 but doesn't seem to solve my issue. 

I'm using `org.springframework.cloud:spring-cloud-deployer-local:2.1.0.RELEASE`

Any suggestions?
Unable to start task with args
issue
closed
peavers
username_0
issue
created
peavers
username_0
Well, this is embarrassing... As suspected the issue was on my end. Of course the args should be passed as individual list items. Sorry it's late at my end!
comment