my $cmdToRun = "/path-to/the-c-prog"; my @results = `$cmdToRun`;