Miletus Raspberry

Is there a way from a Miletus programs to execute system commands (ls , mv, cp, mkdir, ..) or other shell programs on the raspberry and to get back the results ?
(Something like process.execute in Lazarus on raspberry)

1 Like

Hi,

This is currently not possible. We'll investigate the possibilities for a future version.

I'd like this also please.

Hi,

This has been added as a TJSPromise function which resolves with a string.

You can call (and await) MiletusShell.Execute(Command, WorkingDir: string).

2 Likes