about summary refs log tree commit diff
path: root/src/libstd/sys/redox/process.rs
AgeCommit message (Collapse)AuthorLines
2019-08-06redox: convert to target_family unixJeremy Soller-609/+0
2019-05-06use exhaustive_patterns to be able to use `?`Marcel Hellwig-7/+9
2019-05-06convert custom try macro to `?`Marcel Hellwig-28/+21
resolves #60580
2019-03-31libstd: deny(elided_lifetimes_in_paths)Mazdak Farrokhzad-2/+2
2019-02-28libstd => 2018Taiki Endo-17/+18
2019-02-22Rollup merge of #58059 - RalfJung:before_exec, r=alexcrichtonMazdak Farrokhzad-2/+4
deprecate before_exec in favor of unsafe pre_exec Fixes https://github.com/rust-lang/rust/issues/39575 As per the [lang team decision](https://github.com/rust-lang/rust/issues/39575#issuecomment-442993358): > The language team agreed that before_exec should be unsafe, and leaves the details of a transition plan to the libs team. Cc @alexcrichton @rust-lang/libs how would you like to proceed?
2019-02-10libs: doc commentsAlexander Regueiro-1/+1
2019-02-03more formattingRalf Jung-2/+4
2019-02-01also replace before_exec by pre_exec on redoxRalf Jung-1/+1
2018-12-25Remove licensesMark Rousskov-10/+0
2018-12-04cleanup: remove static lifetimes from consts in libstdljedrz-1/+1
2018-10-18Fix tidy checksjD91mZM2-1/+1
2018-10-18Revert liblibc submodule urljD91mZM2-7/+2
2018-10-18Interpret shebangs on redoxjD91mZM2-14/+80
This is no longer handled on the kernel side
2018-10-18Don't forget to close executable fileJeremy Soller-1/+2
2018-10-18Update to new system calls and enviromental variablesJeremy Soller-13/+28
2018-07-29Replace push loops with collect() and extend() where possibleljedrz-5/+6
2018-07-25Add missing dynTatsuyuki Ishi-2/+2
2018-03-03Move process::ExitCode internals to sysScott McMurray-0/+13
Now begins the saga of fixing compilation errors on other platforms...
2017-12-24Capture environment at spawnDiggory Blake-17/+7
2017-08-20redox: Correct error on exec when file is not foundIan Douglas Scott-1/+1
`.raw_os_error()` (called in `spawn()`) returned None, so this produced an incorrect error.
2017-07-29Split FL and FD fcntlsJeremy Soller-6/+6
2017-07-18Rollup merge of #43304 - ids1024:path2, r=aturonMark Simulacrum-15/+22
redox: handle multiple paths in PATH
2017-07-17redox: handle multiple paths in PATHIan Douglas Scott-15/+22
2017-07-18libstd: remove redundant & from &Path::new(...)NODA, Kai-1/+1
fn Path::new<S: AsRef ...>(s: &S) -> &Path Signed-off-by: NODA, Kai <nodakai@gmail.com>
2017-06-06Add conversions from File and Child* handles to StdioJosh Stone-0/+12
`Stdio` now implements `From<ChildStdin>`, `From<ChildStdout>`, `From<ChildStderr>`, and `From<File>`. The `Command::stdin`/`stdout`/`stderr` methods now take any type that implements `Into<Stdio>`. This makes it much easier to write shell-like command chains, piping to one another and redirecting to and from files. Otherwise one would need to use the unsafe and OS-specific `from_raw_fd` or `from_raw_handle`.
2017-04-16Fix stdio descriptors in exec by removing cloexec if present. Use dup2 ↵Jeremy Soller-9/+12
instead of dup
2017-03-12Update usages of 'OSX' (and other old names) to 'macOS'.Corey Farwell-1/+1
As of last year with version 'Sierra', the Mac operating system is now called 'macOS'.
2017-02-06make Child::try_wait return io::Result<Option<ExitStatus>>Jack O'Connor-4/+4
This is much nicer for callers who want to short-circuit real I/O errors with `?`, because they can write this if let Some(status) = foo.try_wait()? { ... } else { ... } instead of this match foo.try_wait() { Ok(status) => { ... } Err(err) if err.kind() == io::ErrorKind::WouldBlock => { ... } Err(err) => return Err(err), } The original design of `try_wait` was patterned after the `Read` and `Write` traits, which support both blocking and non-blocking implementations in a single API. But since `try_wait` is never blocking, it makes sense to optimize for the non-blocking case. Tracking issue: https://github.com/rust-lang/rust/issues/38903
2017-01-13Add try_wait to Redox processJeremy Soller-0/+14
2016-11-28Commit to fix make tidyJeremy Soller-1/+1
2016-11-28Switch to using syscall crate directly - without importJeremy Soller-27/+26
2016-11-17Replace setuid, setgid with setreuid, setregidJeremy Soller-2/+2
2016-11-17Add signal support, better exec error handlingJeremy Soller-34/+80
2016-11-10Fixes for stdio and processes on RedoxJeremy Soller-1/+15
2016-11-09Fix execJeremy Soller-56/+10
2016-10-29Implement rand and args, cleanup other modulesJeremy Soller-22/+1
2016-10-28Remove unsafe libc layerJeremy Soller-109/+28
2016-10-27Add redox systemJeremy Soller-0/+593