Top "Exec" questions

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

Best way to capture output from system command to a text file?

I’m trying to capture output from using Perl’s system function to execute and redirect a system command’s …

perl shell system exec io-redirection
java.io.IOException: Cannot run program error=2, No such file or directory

I have a java class in which I call a runshellscript method that will execute a script. It worked well …

exec csh
difference between docker attach and docker exec

Both will be able to execute commands in container. Both could detach the container. So what is the real difference …

docker exec docker-exec
Passing value from PHP script to Python script

I looked at the other questions similar to this one, but can't figure this out still. I have a basic …

php python variables exec
Behavior of exec function in Python 2 and Python 3

Following code gives different output in Python2 and in Python3: from sys import version print(version) def execute(a, st): …

python python-2.7 python-3.x exec
PHP exec() not returning error message in output

I am trying to get certain output for svn command in XML format. Output is ok when I type valid …

php xml svn exec
How get exec task output with msbuild

I'm trying to get simple output by exec task with msbuild: <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"&…

msbuild exec msbuild-task
Need explanations for Linux bash builtin exec command behavior

From Bash Reference Manual I get the following about exec bash builtin command: If command is supplied, it replaces the …

linux bash exec flow
execute file from defined directory with Runtime.getRuntime().exec

I just want to execute my file from a specific folder. in my case /data/data/my-package/files/. So i …

java shell exec
Why doesn't exec work in a function with a subfunction?

It looks like you can't use exec in a function that has a subfunction... Anyone know why this Python code …

python exec