Comments (6)
Banged my head around for a couple hours before realizing this today (while debugging an unrelated php-curl issue). Here's a minimal reproduction of the issue:
$ ./vendor/bin/boris
[1] boris> $ch = curl_init("https://www.google.com/"); curl_exec($ch);
[... cURL response prints here ...]
[2] boris> $ch = curl_init("https://www.google.com/"); curl_exec($ch);
At this point, Boris exits with status code 0 with a single newline of output.
from boris.
@GrahamCampbell still facing issue? This is something we have to look more into for sure.
from boris.
I no longer user boris, sorry. I switched to psysh.
from boris.
So has laravel. We had to do to the addition of the extension requirements in your composer.json. We used to just silently callback to something else on laravel for windows, but now we can't install our dependencies.
from boris.
FWIW PsySH has the same issue when using the forking loop. It seems to be curl+fork(+php?) stupidness, and I haven't been able to come up with a workaround, other than disabling pcntl support :-/
from boris.
@bobthecow I've noticed the same thing. Not sure what to do about this honestly.
from boris.
Related Issues (20)
- Feature request: add dependencies to the readme HOT 1
- Broken backwards compatibility HOT 11
- Previous and next command with up and down arrow not working HOT 7
- Segmentation Fault HOT 11
- Bug: "use" and "::class" doesn't return the same class. HOT 2
- Undefined variable: boris in .borisrc HOT 1
- CTRL+U incorrect behaviour HOT 4
- Delete key produces tilde HOT 4
- Unicode characters were not accepted HOT 2
- Curly braces used for object property dereferencing cause parse error
- Demo URL is broken in readme file HOT 1
- Can not echo global variable HOT 1
- Packagist no longer has different version based of tags HOT 3
- HTTP Clients may fail silently
- SemVer breakage. HOT 1
- do/while loop doesn't work. HOT 1
- Composer >1.3.0 compatibility
- Support strict types.
- Redefine class/functions
- Demo link returns "Not Found"
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from boris.