0 LIKES LikeUnLike
Hi expertise,Could you let me know how to get the result of each command in Perl during using system command?Ex:#!/bin/perl...$rs=system("cmd1 | cmd2 | tee -a text.txt");...In this example, Perl return the exit code of only the last command.Please let me know how can I get the exit code for each command in this case?Regards,James
Tags:
Report (0) (0) | earlier
Latest activity: earlier. This question has 2 answers.