Documentation for method spawn
assembled from the following pages:
Class: Proc §
From Proc
(Proc) method spawn §
method spawn(* ($, *@), : = , Hash() : = , :, : = False --> Bool)
Runs the Proc
object with the given command, argument list, working directory, and environment.
If :arg0
is set to a value, that value is passed as arg0 to the process instead of the program name.
On Windows the flag $win-verbatim-args
disables all automatic quoting of process arguments. See this blog for more information on windows command quoting. The flag is ignored on all other platforms. The flag was introduced in Rakudo version 2020.06 and is not present in older releases.