K
Kuhl
Hi, in my Perl script,
system("source command_file");
does nothing.
But
system("source command_file && echo");
works correctly.
How come?
BTW, the command_file looks like below:
calibre -query << ! | tee log_file
filter layers lay_bond_pad
net shapes AGNDP
filter layers lay_bond_pad
net shapes DM
filter layers lay_bond_pad
net shapes DP
filter layers lay_bond_pad
net shapes VDD
!
This is using the soft ware Calibre Query Server of Mentor Graphics.
Thank you in advance.
system("source command_file");
does nothing.
But
system("source command_file && echo");
works correctly.
How come?
BTW, the command_file looks like below:
calibre -query << ! | tee log_file
filter layers lay_bond_pad
net shapes AGNDP
filter layers lay_bond_pad
net shapes DM
filter layers lay_bond_pad
net shapes DP
filter layers lay_bond_pad
net shapes VDD
!
This is using the soft ware Calibre Query Server of Mentor Graphics.
Thank you in advance.