[Chicago-talk] Capturing OS command output.
jt at plainblack.com
Mon Jun 20 08:20:42 PDT 2005
my $var = `which convert`;
On Mon, 20 Jun 2005 08:16:52 -0700 (PDT)
Richard Reina <richard at rushlogistics.com> wrote:
> Does anyone know how can I get the scalar to give me
> the path of the convert command?
> my $convert_path = system("which convert");
> just gives me the success or fail results.
> A people that values its privileges above its principles soon loses both.
> -Dwight D. Eisenhower.
> Chicago-talk mailing list
> Chicago-talk at pm.org
JT ~ Plain Black
ph: 703-286-2525 ext. 810
Create like a god, command like a king, work like a slave.
More information about the Chicago-talk