How to run sample application "commandLine"

I tried to type :


root@swi-mdm9x15:/opt/legato/apps/commandLine# execInApp commandLine /bin/fileIn
fo -x

  • execInApp: at argument 3: Unexpected argument.
    Try ‘execInApp --help’.

root@swi-mdm9x15:/opt/legato/apps/commandLine# execInApp commandLine /bin/fileIn
fo x
Unrecognized command: ‘x’
root@swi-mdm9x15:/opt/legato/apps/commandLine#


From the log in Developer Studio, the application is printing out “fileInfo.c _fileInfo_exe_COMPONENT_INIT() 430 | Scanning.”
So the application is running fine.
Please let me know how to pass the argument to the application.
Also please give some example on using this application.
Thx!!!

Hi,

There was a bug that has been fixed and will be in the next release. The bug was that execInApp was interpreting command line arguments meant for the application as its own.

Thanks,

Alex