[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Executing gnokii --sendsms within java

From: Victor M. Moreno
Subject: Executing gnokii --sendsms within java
Date: Thu, 16 Jan 2003 13:15:42 +0100

I am trying to execute: gnokii --sendsms from a java program with no success.
I have linux mandrake, and gnokii installed, from the command line gnokii works ok.
$ gnokii --sendsms 630331876
I am executing the following line in java:
 p=r.exec("echo 'hola' | gnokii --sendsms 630331876 2>&1");
And it end with no error, but the sms is not sent.
Any idea? Anyone have used java to send a sms using gnokii?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]