-
-
Notifications
You must be signed in to change notification settings - Fork 17
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 cannot be started exception #12
Comments
Can you test with master of |
Yes! \o/ With master of process it works. But it hangs after execution: var_dump('START SCRIPT');
\Amp\Loop::run(function() {
var_dump('ENTERED LOOP');
$promise = \Amp\ParallelFunctions\parallel(function () {
var_dump('ENTERED PARALLEL FUNCTION');
return password_verify('1234567890', '$2y$10$PcRLWTmmlKptOuNnAZfmneSKIL7sSZ.j2ELZuNSncVSzqoovWNVzC');
})();
var_dump('CONTINUING LOOP');
$result = yield $promise;
var_dump('RESOLVED PROMSIE');
var_dump($result);
var_dump('EXITING LOOP');
});
var_dump('SCRIPT FINISHED');
|
When adding |
Some more test info. Running the tests in Running the tests in
|
After running the |
Small update after some more debugging.
|
Fixed by removing a call to |
I suspect this is actually rather an
amp/process
issue instead, but this is where I found it.OS:
Windows
PHP version:
PHP 7.2.2 (cli) (built: Jan 31 2018 19:31:17) ( ZTS MSVC15 (Visual C++ 2017) x64 )
Driver:
native
Package versions:
amphp/amp
v2.0.7
amphp/byte-stream
v1.5.0
amphp/parallel
v1.0.1
amphp/parallel-functions
v0.1.3
amphp/parser
v1.0.0
amphp/process
v1.0.0
amphp/sync
v1.0.1
Repro:
Error:
The text was updated successfully, but these errors were encountered: