My script file is in chmod u+x and I also edited propeties of the file to be launched as an application.
...and I have changed the .properites file like this:
launcher=bash
In processing source file I write "RESET\n" on serial port to reset a uC on my electronic board that receive this string and active a WDT that reset itself.
This work well but after the open() method isn't working and doesn't upload a firmware file.
If I insert a script command line on my ubuntu terminal with a right .hex file path the firware is correctly upload and everything works fine.
I don't understand where I wrong.....Can you help me to solve it?