Top "Exec" questions

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

PHP exec() performance

The following PHP code does return me a runtime of about 3.5 seconds (measured multiple times and averaged): $starttime = microtime(true); …

php performance runtime exec
bash tee remove color

I'm currently using the following to capture everything that goes to the terminal and throw it into a log file …

bash exec logging tee
How does exec work with locals?

I thought this would print 3, but it prints 1: def f(): a = 1 exec("a = 3") print(a)

python python-3.x exec locals
how to run python scripts using tcl exec command

I have a tcl driver script which in turn calls several other programs. I want to invoke a python script …

python exec tcl
Cannot change global variables in a function through an exec() statement?

Why can I not change global variables from inside a function, using exec()? It works fine when the assignment statement …

python exec global
Using istringstream in C++

I have some code that utilizes fork, execlp, and wait to make two processes. The objective is to be able …

c++ fork exec wait istringstream
php shell_exec() out put to get a text file

I'm trying to run rate -c 192.168.122.0/24 command on my Centos computer and write down the output of that command to …

php command-line exec shell-exec
Is it possible to signal handler to survive after "exec"?

I wrote a signal handler for a process, and fork() after that, the signal handler will be applied to both …

linux exec signals
Dynamically filtering a pandas dataframe

I am trying to filter a pandas data frame using thresholds for three columns import pandas as pd df = pd.…

python pandas dataframe filter exec
There is a way to use CLASS_EXISTS and __autoload without CRASH the script?

Example: ClassName.php <?php echo "This will crash all"; ?> In another file... foreach ($FILENAMES_WITHOUT_DOT_PHP as $…

php exec autoload