C
ClanCampbellChandler
Trying to do parallel clearcase operations over many VOBs in
parallel...code snippet:
foreach $vob (@VLIST) {
chdir($vob);
system("cleartool find -all -version 'lbtype($OLDIB)
&& !lbtype($NEWIB)' -exec \"cleartool mklabel -replace $NEWIB \\
\"%CLEARCASE_XPN%\\\"\" &");
}
This seems to work just fine as is, but I would prefer to log the
output rather than seeing stdout. The current implementation allows
all the spawned processes to return stdout to screen in a mumbled
order. I would simply like the individual processes to get logged to
unique logfiles....perhaps /tmp/$vob.txt.
Ideas?
Thanks,
CCC
parallel...code snippet:
foreach $vob (@VLIST) {
chdir($vob);
system("cleartool find -all -version 'lbtype($OLDIB)
&& !lbtype($NEWIB)' -exec \"cleartool mklabel -replace $NEWIB \\
\"%CLEARCASE_XPN%\\\"\" &");
}
This seems to work just fine as is, but I would prefer to log the
output rather than seeing stdout. The current implementation allows
all the spawned processes to return stdout to screen in a mumbled
order. I would simply like the individual processes to get logged to
unique logfiles....perhaps /tmp/$vob.txt.
Ideas?
Thanks,
CCC