Source: /home/runner/work/aspl/aspl/stdlib/os/CommandResult.aspl:2:1
Source: /home/runner/work/aspl/aspl/stdlib/os/CommandResult.aspl:10:5
method construct(int exitCode, string output)
Source: /home/runner/work/aspl/aspl/stdlib/os/Architecture.aspl:2:1
Source: /home/runner/work/aspl/aspl/stdlib/os/Architecture.aspl:12:1
function architecture_from_string(string arch) returns Architecture?
Source: /home/runner/work/aspl/aspl/stdlib/os/args.aspl:4:1
function args() returns list<string>
args returns the cli arguments passed to the currently running process
Source: /home/runner/work/aspl/aspl/stdlib/os/commands.aspl:3:1
function execute(string command) returns CommandResult
execute executes a program and returns the exit code and the output
Source: /home/runner/work/aspl/aspl/stdlib/os/commands.aspl:10:1
function system(string command) returns int
system executes a program (like os.execute()), but only returns the exit code
Source: /home/runner/work/aspl/aspl/stdlib/os/commands.aspl:17:1
function execvp(string command, list<string> args)
execvp executes a program in place of the current process
Source: /home/runner/work/aspl/aspl/stdlib/os/fs.aspl:3:1
function getwd() returns string
getwd returns the current working directory
Source: /home/runner/work/aspl/aspl/stdlib/os/fs.aspl:9:1
function chdir(string path)
chdir changes the current working directory to the specified path
Source: /home/runner/work/aspl/aspl/stdlib/os/fs.aspl:15:1
function chmod(string path, int mode)
chmod changes the mode of the specified file to the specified mode
Source: /home/runner/work/aspl/aspl/stdlib/os/fs.aspl:21:1
function create_temp_dir() returns string
create_temp_dir creates and returns a unique ephemeral directory suitable for storing temporary files
Source: /home/runner/work/aspl/aspl/stdlib/os/os.aspl:3:1
function user_os() returns string
user_os returns the name of the operating system currently used to execute this program
Source: /home/runner/work/aspl/aspl/stdlib/os/os.aspl:9:1
function user_architecture() returns string
user_architecture returns the name of the architecture currently used to execute this program
Source: /home/runner/work/aspl/aspl/stdlib/os/os.aspl:15:1
function user_architecture_generic() returns Architecture
user_architecture_generic returns a value from the Architecture enum and is more generic than os.user_architecture()