Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Process timeout are not taken into account #230

Open
steevanb opened this issue Jun 1, 2023 · 0 comments
Open

Process timeout are not taken into account #230

steevanb opened this issue Jun 1, 2023 · 0 comments

Comments

@steevanb
Copy link
Owner

steevanb commented Jun 1, 2023

If i add a timeout to a process, this configuration is not taken into account

Example with tests/processes.php:

$process1 = new Process(['sleep', '120'], $rootDir);
$process1->setTimeout(1.0);

$process1->start();
$process1->wait();
echo $process1->getExecutionTime();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant