in reply to Generating same seed between 2 processes
Add a third process that generates your random seed, and then supplies it to the two existing processes via their command lines:
perl -e"$s= rand; qx[$argv[0] $s]; qx[ $ARGV[1] $s];" script1.pl scrip +t2.pl
Switch command line conventions as appropriate.
|
|---|