1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/vlib/os
Merlin Diavova f3683b7cdc
os: add an .exit_code field to os.Command (#13321)
* Added os.Command.exit_code

* vfmt vlib/os/os_test.v

* extract os.Command to os.v, add a dummy panicing implementation on windows, just for parity, fix os_test.v on macos, skip test_command on windows.

Co-authored-by: Merlin Diavova <md@merlindiaova.org>
Co-authored-by: Delyan Angelov <delian66@gmail.com>
2022-01-30 00:44:52 +02:00
..
bare
cmdline
filelock
font os: add font module, move from gg (#13144) 2022-01-13 12:16:18 +02:00
notify
args.v all: update copyright year 2022-01-04 12:21:12 +03:00
const_nix.c.v
const_windows.c.v
const.v
environment_test.v
environment.c.v all: update copyright year 2022-01-04 12:21:12 +03:00
environment.js.v
fd.c.v
file_test.v
file.c.v
file.js.v
glob_test.v
inode_test.v
inode.c.v all: update copyright year 2022-01-04 12:21:12 +03:00
open_uri_default.c.v
open_uri_windows.c.v
os_android.c.v android: fix and test compilation to raw Android C code (#13080) 2022-01-07 16:57:05 +02:00
os_darwin.c.v all: update copyright year 2022-01-04 12:21:12 +03:00
os_js.js.v
os_linux.c.v all: update copyright year 2022-01-04 12:21:12 +03:00
os_nix.c.v os: add an .exit_code field to os.Command (#13321) 2022-01-30 00:44:52 +02:00
os_structs_dirent_default.c.v
os_structs_sigaction_default.c.v
os_structs_stat_default.c.v
os_structs_stat_linux.c.v
os_structs_utsname_default.c.v
os_test.v os: add an .exit_code field to os.Command (#13321) 2022-01-30 00:44:52 +02:00
os_windows.c.v os: add an .exit_code field to os.Command (#13321) 2022-01-30 00:44:52 +02:00
os.c.v
os.js.v js,os: fix return in or blocks; Properly get path_delimiter and path_separator in JS (#13179) 2022-01-15 09:55:03 +02:00
os.v os: add an .exit_code field to os.Command (#13321) 2022-01-30 00:44:52 +02:00
process_nix.c.v
process_test.v os: add os.quoted_path/1, use it consistently for running V itself 2022-01-22 21:13:28 +02:00
process_windows.c.v
process.c.v
process.js.v
process.v
README.md docs: adding skeleton README.md files for all vlib modules (#13034) 2022-01-05 18:06:08 +02:00
signal_test.v
signal.c.v
signal.js.v
signal.v

Description:

os provides common OS/platform independent functions for accessing command line arguments, reading/writing files, listing folders, handling processes etc.