Reference   Language | Libraries | Comparison | Changes

Bridge : Process Class

runShellCommandAsynchronously()

Description

Starts a Linux shell command

Unlike runShellCommand(), runShellCommandAsynchronously() is not-blocking. Your sketch will continue to run while the Linux process runs in the background.

Please note that since Process.begin(). calls close the running process is terminated. This is the reason why you can not run 2 processes the same time with the same Process instance.

Syntax

  • Process.runShellCommandAsynchronously(cmd)

Parameters

  • cmd : String containing the command to execute

Returns

  • none

Example

See also


Reference Home

Corrections, suggestions, and new documentation should be posted to the Forum.

The text of the Arduino reference is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.