I'm creating a task in SBT that will upload some scripts to S3. I'm uploading to S3 using SBT external process with aws cli s"aws s3 cp ./someDir $uploadPath --recursive" ! log.
It throws error
java.io.IOException: Cannot run program "aws": CreateProcess error=2, The system cannot find the file specified
This happens only on Windows. It works fine when I run the same project/task in Ubuntu build system. AWS cli is installed on Windows machine and PATH is set correctly.
Its not clear to me what is missing.