Name

SPVM::Go::OS::Exec - Executing Commands

Description

Go::OS::Exec class in SPVM class provides functions to run external commands.

Usage

use Go::OS::Exec;
use Go::Context;

my $cmd = Go::OS::Exec->command(Go->bg, ["perl", "-e", "print 'Hello';"]);
my $status = $cmd->run;

Details

Go::OS::Exec class provides functions to run external commands, similar to os/exec in the Go programming language.

Class Methods

command

static method command : Go::OS::Exec::Cmd ($context : Go::Context, $command : string[]);

Creates a new Go::OS::Exec::Cmd object given the context $context and the command arguments $command.

Instance Methods

Well Known Child Classes

See Also

Repository

SPVM::Go - Github

Author

Yuki Kimoto kimoto.yuki@gmail.com

Copyright & License

Copyright (c) 2026 Yuki Kimoto

MIT License