Top "Exec" questions

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

How to handle readlink() of "/proc/self/exe" when executable is replaced during execution?

In my C++ application, my application does an execv() in a fork()ed child process to use the same executable …

c++ linux exec fork self-reference
Python: fork, pipe and exec

I want to execute a program in a python application, it will run in the background but eventually come to …

python exec fork stdio dup
nodejs exec command failing with no useful error message

This is the code to execute cp.exec("cc -Wall /tmp/test.c -o /tmp/test", function(e, stdout, stderr) { …

javascript node.js exec child-process
Execute external program ( like skype.exe) using php

I have tried launch an external application installed in the C:\Program Files (x86)\Hewlett-Packard\HP MyRoom\MyRoom.exe using …

php exec popen external-process
Python: How to pass arguments to the __code__ of a function?

The following works: def spam(): print "spam" exec(spam.__code__) spam But what if spam takes arguments? def spam(eggs): …

python function parameter-passing exec eval
CodeLite No executable specified, use 'target exec' error

Today is my first day of using CodeLite (http://codelite.org/) and I keep getting random errors. I've managed to …

c++ exec executable target codelite
Delete files using wildcard - exec vs unlink

I'm working on a php script, where I want to delete some files from a given folder using wildcard (*). I've …

php exec unlink
how to do a linux reboot from php file

I have a user brftv on my linux system and I have www-data that runs the nginx. from the terminal …

php linux nginx exec reboot
How do you use dup2 and fork together?

I'm taking an operating systems course and I'm having a hard time how input is redirected with dup2 when you …

unix exec fork dup2
PHP exec/shell_exec/system not working through browser

I am running an SCO Unix box with apache version 1.3.33 and PHP version 4.4. I can properly execute the exec command …

php apache system exec shell-exec