Anonymous user
Execute a system command: Difference between revisions
→[[Perl]]
(→[[C]]: Removed syntax highlighting) |
|||
Line 196:
'''Interpreter:''' [[Perl]]
Note the use of grave quotes (or back ticks) instead of "normal" single quotes or the qx() command.
my $results = qx(ls);
Back ticks as above returns the results, system as below does not.
==[[PHP]]==
|