Top "Exec" questions

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

What's the difference between escapeshellarg and escapeshellcmd?

PHP has 2 closely related functions, escapeshellarg() and escapeshellcmd(). They both seem to do similar things, namely help make a string …

php shell process exec subprocess
Running Shell commands though java code on Android?

I've got an app that's supposed to use some shell commands to copy a file from the sdcard to /system/…

java android shell exec su
Having trouble with fork(), pipe(), dup2() and exec() in C

Here's my code: #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <…

c exec fork pipe dup2
Handling arguments array of execvp?

When I call execvp, for example execvp(echo, b) where b is an array of arguments for the command a, …

c exec execvp
How to invoke external command from within Kotlin code?

I want to invoke an external command from Kotlin code. In C/Perl, I would use system() function. In Python, …

exec kotlin
What is the difference between the functions of the exec family of system calls like exec and execve?

I have been following a system programming course recently and I came through the system calls exec() and execve(). So …

c linux exec system-calls
What can cause exec to fail? What happens next?

What are the reasons that an exec (execl,execlp, etc.) can fail? If you make a call to exec and …

c linux unix exec
PHP exec() as Background Process (Windows Wampserver Environment)

I'm trying to setup a php trigger file that will set off a background process. (see this question) I'm doing …

php exec background-process
Executing a Command from Java and Waiting for the Command to Finish

In my Java program, I create a process that executes a command to run a batch file like this: try { …

java batch-file command exec execute
PHP Untar-gz without exec()?

How would I untar-gz a file in php without the use of exec('tar') or any other commands, using pure …

php exec tar