I am creating file paths like so:
'/Users/User/Documents/dev/engineerappcopy/VGimages/'+deviceName+'.png'
these file paths are passed to a function as parameters, this function uses the file path to perform a command on the terminal.
However, this string seems to split into 2 parts when used by the function. presenting this error:
exec error: Error: Command failed: /bin/sh -c adb pull /sdcard/nexLogin.png /Users/User/Documents/dev/engineerappcopy/VGimages/josh
.png
/bin/sh: line 1: .png: command not found
this is because '.png' has been separated from the main string.