> exec './blast.REAL' or die "Can't run command blast.REAL: $!"; Here is the problem. The child does not inherit the command line. Replace it with exec ("./blast.REAL", @ARGV ) ... It should work thatway. Malay