Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
1 vote
2 answers
104 views

When using exec() or proc_open() after posix_seteuid() or posix_setuid() I expected the resulting process to run as the UID I set inside the running script. This does not happen. is this how it's ...
1 vote
1 answer
63 views

I am developing a terminal on web app for personal use and using Ratchet for the socket server. And It is working fine with simple commands like ls etc. But when I run commands like ping it just doesn'...
0 votes
0 answers
30 views

I'm trying to launch the Linux console application yewtube using php, and then have php interact with it programmatically. The application allows you to search youtube and then select items from the ...
benino's user avatar
  • 597
1 vote
1 answer
420 views

from a php script I am trying to run an external command which is taking its input from a previous command with a pipe (at os level). The command I want to use is pdftotext -nopgbrk -layout myfile.pdf ...
0 votes
1 answer
265 views

I have installed php script made in laravel for my web-site: mirkoviclux.rs and everything worked perfectly and today I got this error. The Process class relies on proc_open, which is not available ...
Xcaos's user avatar
  • 1
0 votes
0 answers
143 views

I try to operate "php xxx.php" with proc_open, it works fine, but I have a problem when I try to interact with mysql, I can't get the response data of mysql, it is output directly to the ...
1 vote
0 answers
46 views

I am having issues with my php code. I am executing c++rom fffff code using proc_open() in php. //from another function I'm calling this function with parameters execute("code.exe", $STDIN, ...
0 votes
1 answer
138 views

I created a Daemon to wrap around Invoke-AI command line interface https://github.com/invoke-ai/InvokeAI to generate images for my website. My issue is that it keeps failing on some artists names with ...
Blake's user avatar
  • 33
0 votes
0 answers
565 views

I am using Wamp I want to get output from the file opened with proc_open() $cwd=null; $description = array( 0 => array("pipe", "r"), 1 => array("pipe", &...
1 vote
2 answers
104 views

i try to make this: <?php error_reporting(E_ALL); echo "<HTML><BODY>"; exec("echo Hallo > /tmp/testtt.txt", $output, $retval); echo "Rückgabe mit Status $...
0 votes
0 answers
69 views

I am trying to create a C program compiler + executer using PHP. My PHP code is <?php $cwd='/path/to/pwd'; $descriptorspec = array( 0 => array("pipe", "r"), 1 ...
0 votes
1 answer
522 views

I have a command line program which requires for the user to type a password in order to run. I want to run it and enter the password through a php script. I have tried using proc_open, using the ...
0 votes
1 answer
1k views

I want to use Ghostscript command within PHP without writing the input or output in files. $cmd = "gs -sOutputFile=%stdout% -sDEVICE=pdfwrite -dJOBSERVER -"; $descriptorspec = array(0 => ...
0 votes
1 answer
253 views

So i want to make a program that can execute java file and the input (input file is from me with .in extension) in php. After the execution i want to get the result as output file (so i can check ...
0 votes
0 answers
103 views

I'm trying to send multiple commands (separated) to a program using php, I'm using /bin/bash for my test now and I'm facing a problem when I try to reopen the pipe to write the new command. here is ...
no one's user avatar
  • 25

15 30 50 per page
1
2 3 4 5
...
11

AltStyle によって変換されたページ (->オリジナル) /