#include <cerrno>
#include <cstdlib>
#include <new>
#include <sstream>
#include <string>
#include "async-system-wrapper.h"
#include "child-list.h"
#include "lo-error.h"
#include "oct-fftw.h"
#include "oct-locbuf.h"
#include "oct-syscalls.h"
#include "signal-wrappers.h"
#include "str-vec.h"
#include "wait-for-input.h"
#include "build-env.h"
#include "liboctinterp-build-info.h"
#include "call-stack.h"
#include "defaults.h"
#include "defun.h"
#include "error.h"
#include "file-io.h"
#include "help.h"
#include "interpreter-private.h"
#include "octave.h"
#include "oct-map.h"
#include "ovl.h"
#include "ov.h"
#include "pager.h"
#include "procstream.h"
#include "sysdep.h"
#include "unwind-prot.h"
#include "utils.h"
#include "version.h"
Go to the source code of this file.
◆ SHELL_PATH
#define SHELL_PATH "/bin/sh" |
◆ system_exec_type
Enumerator |
---|
et_sync | |
et_async | |
Definition at line 175 of file toplev.cc.
◆ disp()
◆ Fsystem()
◆ Fwarranty()
◆ get_signal_mask()
static void* get_signal_mask |
( |
void |
| ) |
|
|
static |
◆ printf()
printf |
( |
"%s\ |
, |
|
|
nthargout(2, "system", "cmd") |
|
|
) |
| |
◆ restore_signal_mask()
static void restore_signal_mask |
( |
void * |
mask | ) |
|
|
static |
◆ run_command_and_return_output()
Definition at line 102 of file toplev.cc.
References octave::__get_child_list__(), octave::action_container::add_delete(), octave::action_container::add_method(), procstreambase::close(), EAGAIN, error(), fid, procstreambase::file_number(), frame, octave_wait_for_input(), ovl(), procstreambase::pid(), octave::child_list::remove(), retval, octave::sys::wexitstatus(), and octave::sys::wifexited().
◆ ar
◆ ode
◆ on
Definition at line 236 of file toplev.cc.
Referenced by err_no_conversion(), err_unary_op(), err_unary_op_conv(), octave_value::op_eq_to_binary_op(), raw_mode(), octave::opengl_renderer::set_polygon_offset(), octave::opengl_renderer::set_selecting(), TerminalView::setTerminalSizeHint(), TerminalView::setTerminalSizeStartup(), TerminalView::setUsesMouse(), toggle_warn(), and octave_value::unary_op_to_assign_op().
◆ text
◆ xample
nd group nd example The xample[status, output] = system ("echo foo & exit 2") |