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

Windows CLI process never ends #475

Open
reeperbahnause opened this issue Apr 9, 2022 · 1 comment
Open

Windows CLI process never ends #475

reeperbahnause opened this issue Apr 9, 2022 · 1 comment

Comments

@reeperbahnause
Copy link

Hi,

i just testet the extension unsing this version:
https://phpdev.toolsforresearch.com/php-7.4.28-Win32-vc15-x64.zip

Installation worked just fine and the first tests have been correct but the CLI process never finishes.

Here is my example:

<?php

$v8 = new V8Js();
$v8->sayHello = function(string $name = 'World') {
    echo "Hello ".$name." Greetings from PHP" . PHP_EOL;
};
try {
    $v8->executeString("PHP.sayHello('again');", 'basic.js');
} catch (\Exception $e) {
    var_dump($e);
}

The output is:

Hello again Greetings from PHP

but as mentioned the process does not end.

Do I miss something?

@avriltank
Copy link

I have same error,the cli process never die

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants