Execute a system command: Difference between revisions

m
→‎{{header|Perl}}: correct spelling of "ditto"
(added Erlang.)
m (→‎{{header|Perl}}: correct spelling of "ditto")
Line 282:
# runs command and returns its STDOUT as a string
my @results = `ls`;
# ditoditto, alternative syntax
system "ls";
Anonymous user