Name

SPVM::UV::Handle::Process - libuv Process Handle

Description

UV::Handle::Process class in SPVM represents a process handle in libuv. See uv_process_t.

Usage

use UV::Handle::Process;

Super Class

UV::Handle

Fields

exit_cb

has exit_cb : UV::Callback::Exit;

The exit callback associated with this process handle.

Class Methods

new

static method new : UV::Handle::Process ();

Creates a new libuv process handle.

Instance Methods

pid

method pid : int ();

Gets the process ID (PID). See uv_process_t#pid.

kill

method kill : int ($signum : int);

Sends a signal to the process. See uv_process_kill.

DESTROY

method DESTROY : void ();

Destroys the process handle and releases its resources.

Repository

Yuki Kimoto kimoto.yuki@gmail.com

Copyright & License

Copyright (c) 2026 Yuki Kimoto

MIT License