ActiveState and spawning commands
Eugene Tsyrklevich
eugene at securityarchitects.com
Tue May 30 07:08:25 CDT 2000
~sdpm~
what do you get after running 'identify image.jpg' from a command line?
how about
system("identify", "image.jpg") == 0 or die "system failed: $?"
does that fail too?
and btw, is identify program in your path?
On Mon, May 29, 2000 at 06:51:04PM -0700, Russ Schnapp wrote:
> ~sdpm~
> ...and in the same vein as my previous message: Since IM 5.1.1
> seemed to work, I tried to roll my own Perl interface, albeit with just
> the stuff I need to do. I tried using backtick to run the various IM
> commands. For example,
>
> my $id = `identify image.jpg`;
>
> should get me the raw information I need, and then I would simply
> parse out what I want.
>
> Unfortunately, $id remains empty. $? is 16384 (0x4000), which
> doesn't sound good.
>
> Of course, opening piped output is just as useless. I can't be
> running out of memory -- my machine has 128M. Then again, I
> *am* using Win98.
>
> Argh!
~sdpm~
The posting address is: san-diego-pm-list at hfb.pm.org
List requests should be sent to: majordomo at hfb.pm.org
If you ever want to remove yourself from this mailing list,
you can send mail to <majordomo at happyfunball.pm.org> with the following
command in the body of your email message:
unsubscribe san-diego-pm-list
If you ever need to get in contact with the owner of the list,
(if you have trouble unsubscribing, or have questions about the
list itself) send email to <owner-san-diego-pm-list at happyfunball.pm.org> .
This is the general rule for most mailing lists when you need
to contact a human.
More information about the San-Diego-pm
mailing list