Top "Exec" questions

This tag refers to the starting of another, subsidiary program.

Running external commands through os/exec under another user

Using the os/exec package, I want to run an external command on a *nix OS, on behalf of another …

go exec sudo
Attempting to use execvpe(...) but get implicit declaration error - even though I think I'm using the correct argument types

I am getting the following warning when I compile: execute.c:20:2: warning: implicit declaration of function ‘execvpe’[-Wimplicit-function-declaration] execvpe("ls", …

c linux exec posix unistd.h
Append text to stderr redirects in bash

Right now I'm using exec to redirect stderr to an error log with exec 2>> ${errorLog} The only downside …

bash exec stderr
Copy a single file in MSBuild without using Exec or ItemGroup

Is there any way to do this? I just need to copy a single file and thought there may be …

msbuild exec itemgroup
How to use a variable to indicate a file descriptor in bash?

I want to use a bash variable to indicate a file descriptor, like this: id=6 file=a exec $id<&…

bash io exec file-descriptor
RTL150.BPL not found

i have this problem: i compile and run application and all work in mine computer. When i try to run …

delphi exec vcl
Best way to sanitize exec command with user inserted variables

I'm coding a web interface to a horrible piece of propitiatory software our company uses. The software has no real …

php exec sanitize
exec error code 2

I'm using Unison to sync files between two servers. I'm trying to get PHP to call it after a file …

php exec unison
Gradle: task's standardOutput to file and terminal simultaneously

I want to change standardOutput of one build task to file, because it will be parsed later by another task. …

gradle exec output
Phing exec command to set environment variable

I'm trying to set an environment variable in a build script with phing. This is normally done command line like …

command-line environment-variables exec phing