Execute a system command: Difference between revisions

(Python version)
Line 67:
==[[Perl]]==
[[Category:Perl]]
'''Interpreter:''' [[Per;]]
 
Note the use of grave quotes instead of "normal" single quotes.
my $results = `ls`;
 
Alternate system call
system "ls";
 
==[[Python]]==
Anonymous user