Launching an application using spawn

spawn executes specified command and return its pid.

spawn 'gedit'

# observed a new instance of gedit was launched

Resources