Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 22040

Calling gcc with shell_exec in php

$
0
0
<?php$output=shell_exec('gcc prog.c');echo "$output";?>

I'm trying execute a c program using php and have used shell_exec to call gcc to execute the program but it is giving no output but there is no error being showed . Can please someone correct the mistake?


Viewing all articles
Browse latest Browse all 22040

Trending Articles