it seems I am having issues retrieving the output of another application that I have executed within my perl script.

I've tried to use 

```
# Option 1:
open( FH, "program -paramaeters |" ) or warn("$!");
while ( my $line = <FH> ) { print $line }

# Option 2: IPC::Run3's
run3( \@cmd, \undef, \$output );

# Option 3:
my $output = system("program");

# Option 4:
my $output = `program`;

# Option 5:
my $output = exec("program");

```

and none of the above seem to capture the exact string output of the program in question.

I was just wondering if there was a better method than what I have previously listed.

EDIT:

This is for a Windows system