symfony-process Questions

1

I am getting exit code -1 from the Symfony process command on some machines, while exactly the same code returns exit code 0 as excepted on others. In both cases the given command is executed succe...
Yingling asked 5/8, 2015 at 9:36

1

Solved

I am upgrading an old Symfony application (v2.8) to Symfony 5.3. I am using the process component where the arguments have to be passed in another way than before. My previous code was like use Sym...
Behn asked 29/11, 2021 at 9:51

4

I'm trying to clone a github repository and issue a composer install on it. But I am getting this: Warning: The lock file is not up to date with the latest changes in composer.json. You may be g...
Reasoning asked 14/11, 2018 at 0:59

2

Solved

In a fresh symfony2-project (installation as described here), I would like to start a console-process as part of a request. The app runs on a "standard" ubuntu 14.04 box with nginx + php-...
Samal asked 22/12, 2014 at 16:14

0

Symfony: 4.1 PHP: 7.1 I have working websocket server using Ratchet. The websocket itself works fin. I can run it from the terminal using Symfony's commands php bin/console app:websocket:exec...
Blane asked 26/11, 2018 at 21:58

3

Solved

I have the following code: $process = new Process('vi'); try { $process->setPty(true); $process->mustRun(function ($type, $buffer) { echo $buffer; }); //echo $process->getOutput(); } cat...
Bluebeard asked 4/8, 2016 at 10:21

3

For time-consuming tasks (email sending, image manipulation… you get the point), I want to run asynchronous PHP tasks. It is quite easy on Linux, but I'm looking for a method that works on Windows...
Featureless asked 24/3, 2015 at 2:9

1

Solved

I am trying to control the systems ssh-agent by adding new keys to it using ssh-add. For this I'm using the Symfony Process component. When I run this code from a web site it works perfectly fine ...
Ralaigh asked 19/11, 2014 at 16:56

2

Solved

My goal is to launch some time consuming functions in the background to avoid user to wait before the server response is rendered. I have a Symfony project where I am launching an asynchronous pro...
Equerry asked 21/10, 2014 at 13:50
1

© 2022 - 2024 — McMap. All rights reserved.