v8js icon indicating copy to clipboard operation
v8js copied to clipboard

Windows CLI process never ends

Open reeperbahnause opened this issue 3 years ago • 1 comments

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?

reeperbahnause avatar Apr 09 '22 20:04 reeperbahnause

I have same error,the cli process never die

avriltank avatar Jun 28 '22 11:06 avriltank