exec_async_create( <command>, <func> )


Module: Exec

Summary:

Executes a shell command in another thread and returns the result of it. Requires to use exec_async_checkdone() every frame (0.05 sec).



Example:

exec_async_create( "ls", ::resultCallback );



Required Args:

  • 1 : <command> command to execute
  • 2 : <func> callback function with result array argument