Support the ongoing development of Laravel.io →
posted 6 years ago

I am working on a project where i need a compiler of C,Java and Python. I have created a portion of it, where i execute a shell command using php (gcc filename.c -o filename) and it execute nice and product an output. But the program didn't require input from user if i use scanf or something else. In order to provide input at run time just like we do in shell or command prompt how we can do it in laravel?

Last updated 3 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.