How to call File::startAsProcess()?

Hi!

Could be I'm a dumb, but I can't get the File::startAsProcess() function get to work (I seems that my syntax is mostly wrong)...

 

Thats my code:

    const juce::String msg = "florence";
    File::startAsProcess(msg);

It is not a static function and such must be called on a valid File object.

myFile.startAsProcess();

Try using the absolute path, ie /usr/bin/florence