I have a sketch that uses the Parse library (see https://www.parse.com/docs/arduino/guide#getting-started). The sketch uses the Parse push service (Parse.startPushService(); ).
However, when uploading a new sketch, the current 'parse_push' process on the Yun starts using a high amount of CPU, blocking the execution of the new sketch. Apparently, this process is not terminated properly when a new sketch is uploaded.
How can I run a script (e.g. 'killall parse_push') after an upload of a new sketch through the IDE?
When I manually execute this command, the new sketch starts running.
Thanks for your help.