How to call File::startAsProcess()?


#1

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);


#2

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

myFile.startAsProcess();

#3

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