Searched refs:shell (Results 1 - 25 of 219) sorted by relevance

123456789

/openbsd-current/gnu/gcc/libgomp/testsuite/
H A DMakefile.am6 gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
8 EXPECT = $(shell if test -f $(top_builddir)/../expect/expect; then \
11 _RUNTEST = $(shell if test -f $(top_srcdir)/../dejagnu/runtest; then \
/openbsd-current/gnu/gcc/libstdc++-v3/libmath/
H A DMakefile.am26 gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
/openbsd-current/usr.sbin/chroot/
H A Dchroot.c55 const char *shell; local
133 if ((shell = getenv("SHELL")) == NULL || *shell == '\0')
134 shell = _PATH_BSHELL;
135 execlp(shell, shell, "-i", (char *)NULL);
136 err(1, "%s", shell);
/openbsd-current/usr.bin/apply/
H A Dapply.c195 * variable as the shell to execute.
200 static const char *name, *shell; local
206 if (shell == NULL) {
207 if ((shell = getenv("SHELL")) == NULL)
208 shell = _PATH_BSHELL;
209 if ((name = strrchr(shell, '/')) == NULL)
210 name = shell;
225 execl(shell, name, "-c", command, (char *)NULL);
226 err(1, "%s", shell);
/openbsd-current/gnu/llvm/lldb/examples/darwin/heap_find/heap/
H A DMakefile4 # Uncomment line below for debugging shell commands
12 CXX ?= $(shell xcrun -find clang++)
/openbsd-current/gnu/llvm/lldb/examples/functions/
H A DMakefile8 MY_OS = $(shell uname -s)
/openbsd-current/gnu/llvm/lldb/examples/lookup/
H A DMakefile7 MY_OS = $(shell uname -s)
/openbsd-current/gnu/llvm/llvm/utils/
H A Dbisect-skip-count41 # Use shell support if you need to use complex shell expressions in your command
42 parser.add_argument('--shell', type=bool, default=False)
61 result = subprocess.call(cmd, shell=args.shell, timeout=args.timeout)
84 result = subprocess.call(cmd, shell=args.shell, timeout=args.timeout)
/openbsd-current/gnu/llvm/clang/utils/analyzer/
H A Dentrypoint.py62 shell=True)
66 check_call("ninja install", shell=True)
71 return call("/scripts/SATest.py " + " ".join(args), shell=True)
/openbsd-current/usr.bin/less/
H A Dlsystem.c28 * Pass the specified command to a shell to be executed.
35 char *shell; local
84 * If the command is empty, just invoke a shell.
87 if ((shell = lgetenv("SHELL")) != NULL && *shell != '\0') {
89 p = estrdup(shell);
93 p = easprintf("%s -c %s", shell, esccmd);
141 * Pipe a section of the input file into the given shell command.
181 * Create a pipe to the given shell command.
192 * Since we're running a shell progra
[all...]
/openbsd-current/usr.sbin/unbound/testcode/
H A Dmini_tdir.sh132 shell="bash"
134 shell="sh"
164 $shell $name.pre $args >> $result
179 $shell $name.test $args >>$result 2>&1
198 $shell $name.post $args >> $result
/openbsd-current/gnu/usr.bin/perl/cpan/ExtUtils-MakeMaker/t/
H A Decho.t37 my $shell = $^O eq 'MSWin32' && $mm->is_make_type('gmake') ? $ENV{COMSPEC} : undef;
59 print $makefh "SHELL=$shell\n" if defined $shell;
/openbsd-current/gnu/usr.bin/perl/cpan/Test-Harness/t/
H A Dtestargs.t53 my $shell = '/bin/sh';
54 return unless -x $shell;
60 print $sh "#!$shell\n\n";
65 return [ shell => $script ];
/openbsd-current/gnu/llvm/lldb/packages/Python/lldbsuite/support/
H A Dseven.py9 shell=True,
/openbsd-current/usr.bin/tmux/
H A Dtmux.c60 "usage: %s [-2CDlNuVv] [-c shell-command] [-f file] [-L socket-name]\n"
70 const char *shell; local
72 shell = getenv("SHELL");
73 if (checkshell(shell))
74 return (shell);
84 checkshell(const char *shell) argument
86 if (shell == NULL || *shell != '/')
88 if (areshell(shell))
90 if (access(shell, X_O
96 areshell(const char *shell) argument
243 shell_argv0(const char *shell, int is_login) argument
[all...]
/openbsd-current/usr.bin/ftp/
H A Dcmds.h50 void shell(int, char **);
/openbsd-current/gnu/llvm/lldb/packages/Python/lldbsuite/test/
H A Dlldb_pylint_helper.py121 ["lldb.exe", "-P"], shell=True)
123 # Use the shell to run lldb from the path.
125 ["lldb", "-P"], shell=True)
/openbsd-current/usr.bin/su/
H A Dsu.c65 char *user, *shell = NULL, *avshell, *username, **np; local
113 shell = optarg;
133 /* get current login name and shell */
141 auth_errx(as, 1, "only the superuser may specify a login shell");
155 if ((shell = strdup(pwd->pw_shell)) == NULL)
158 shell = _PATH_BSHELL;
242 /* must be root to override non-std target shell */
244 auth_errx(as, 1, "permission denied (shell).");
246 if ((shell = strdup(pwd->pw_shell)) == NULL)
250 shell
[all...]
/openbsd-current/usr.bin/script/
H A Dscript.c310 char *shell; local
313 shell = getenv("SHELL");
314 if (shell == NULL)
315 shell = _PATH_BSHELL;
326 execl(shell, shell, "-i", (char *)NULL);
327 warn("%s", shell);
/openbsd-current/gnu/llvm/lldb/source/Host/windows/
H A DHostInfoWindows.cpp117 std::string shell; local
118 if (GetEnvironmentVar("ComSpec", shell))
119 return FileSpec(shell);
/openbsd-current/gnu/llvm/llvm/utils/gn/build/
H A Dwrite_vcsrevision.py45 cwd=LLVM_DIR, shell=use_shell).decode().strip()
52 cwd=git_dir, shell=use_shell).decode().strip()
55 cwd=git_dir, shell=use_shell).decode().strip()
/openbsd-current/gnu/llvm/compiler-rt/lib/asan/scripts/
H A Dasan_device_setup41 $ADB shell su -c "rm \\\"$2/$FILENAME\\\"" >&/dev/null
42 $ADB shell su -c "cat \\\"/data/local/tmp/$FILENAME\\\" > \\\"$2/$FILENAME\\\""
43 $ADB shell su -c "rm \\\"/data/local/tmp/$FILENAME\\\""
51 local STORAGE=`$ADB shell mount | grep /system | cut -d ' ' -f1`
54 $ADB shell su -c "mount -o rw,remount $STORAGE /system"
63 $ADB shell $@
65 $ADB shell su -c "$*"
84 $ADB shell rm "/data/local/tmp/$FILENAME" >&/dev/null
85 $ADB shell su -c "[ -f \\\"$1\\\" ] && cat \\\"$1\\\" > \\\"/data/local/tmp/$FILENAME\\\" && chown root.shell \\\"/dat
[all...]
/openbsd-current/gnu/usr.bin/binutils/gdb/
H A Dfork-child.c88 /* When executing a command under the given shell, return non-zero if
98 that the shell name ends with 'csh', which covers at least csh
115 pass. SHELL_FILE is the shell file, or NULL if we should pick
138 int shell = 0; local
148 do a fork/exec, no shell, so don't bother figuring out what
149 shell. */
153 /* Figure out what shell to start up the user program under. */
158 shell = 1;
175 if (!shell)
188 /* We're going to call a shell
[all...]
/openbsd-current/usr.bin/finger/
H A Dfinger.h59 char *shell; /* user's shell */ member in struct:person
/openbsd-current/gnu/llvm/clang/tools/scan-build-py/tests/unit/
H A Dtest_shell.py6 import libscanbuild.shell as sut

Completed in 202 milliseconds

123456789