Top "Exec" questions

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

PHP shell_exec() vs exec()

I'm struggling to understand the difference between shell_exec() and exec()... I've always used exec() to execute server side commands, …

php shell command exec
How do I execute a string containing Python code in Python?

How do I execute a string containing Python code in Python?

python string exec
Running a Python script from PHP

I'm trying to run a Python script from PHP using the following command: exec('/usr/bin/python2.7 /srv/http/…

php python linux exec archlinux
What are the uses of the exec command in shell scripts?

Can anyone explain what are the uses of the exec command in shell scripting with simple examples?

shell unix exec
PHP exec() vs system() vs passthru()

What are the differences? Is there a specific situation or reason for each function? If yes, can you give some …

php command exec
find: missing argument to -exec

I was helped out today with a command, but it doesn't seem to be working. This is the command: find /…

bash shell find arguments exec
What's the difference between eval, exec, and compile?

I've been looking at dynamic evaluation of Python code, and come across the eval() and compile() functions, and the exec …

python dynamic eval exec
How to execute cmd commands via Java

I am trying to execute command line arguments via Java. For example: // Execute command String command = "cmd /c start cmd.…

java exec
Why does find -exec mv {} ./target/ + not work?

I want to know exactly what {} \; and {} \+ and | xargs ... do. Please clarify these with explanations. Below 3 commands run and output …

linux find cygwin exec
Run Bash Command from PHP

I have a bash script, that I run like this via the command line: ./script.sh var1 var2 I am …

php bash exec