Skip to content

obp3ter/scarpet-os-utils

Repository files navigation

Scarpet Os Utils

Icon Icon made by hudumannaia

This mod was made to make you be able to execute system functions and programs outside you minecraft server using scrapet from Fabric carpet.
Have fun with it! For ideas you can check-out my scarpet scripts.

Downloads:

Curseforge Download

Modrinth Download Modrinth

Github

Available functions:

os_exec(command)

Executes the command in the os.

os_exec_ignore_errors(command)

Executes the command in the os ignoring errors.

get_os()

Returns the host os as a string.

powershell_exec(command)

Executes the command in powershell. Equivalent to powershell -c command.

cmd_exec(command)

Executes the command in command prompt. Equivalent to cmd /c command.

bash_exec(command)

Executes the command in bash. Equivalent to bash -c command.

sh_exec(command)

Executes the command in shell. Equivalent to sh -c command.

License

CC0-1.0

Contact

Twitter: @obp3ter
Discord: ObP3ter#2702

About

Scrapet extension to run os commands and programs.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages