[Tomahawk-devs] Tomahawk -f <variable> passed
Brought to you by:
bsmith1180,
dkolbly
|
From: KURUPPANKANDI, S. \(SANDEEP\) <ksa...@al...> - 2008-02-05 13:38:58
|
Hi,
I'm facing the following issue:
#########################
pcap=$(zenity --file-selection)
echo $pcap ## returns the path /home/d/test.pcap
tomahwk -l 1 -f $pcap
#########################
The execution fails with reason :
"No such file or directory"
But when I execute the cmd:
**************************************
tomahawk -l 1 -f /home/d/test.pcap
***************************************
Execution passes successfully. Can you please suggest me whether a
variable can be passed as an argument for Tomahawk. If so, why is it
failing in my case.
Thanks
-Sandeep
|