mcountryman / gm_execute

A garrysmod module that enables os.execute.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gm_execute

A Garry's Mod module that enables os.execute.

Release

For releases, click the releases tab.

Reference

-- Loads the `gm_execute` module.
require "execute"

--- Executes supplied command on shell.
-- If the command executes with status code zero the function returns the stdout as a 
-- string.  If the status is non-zero the function returns the stderr as a string.
-- @param command The shell command to execute.
-- @returns Either `stdout` or `stderr` from shell.
os.execute(command)

About

A garrysmod module that enables os.execute.


Languages

Language:Rust 100.0%