Community


All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: CLI parameters in Launcher? (Linux)
PostPosted: Thu May 13, 2010 10:53 pm 
Offline

Joined: Mon Apr 19, 2010 7:42 pm
Posts: 26
How do I pass -d and -u parameters if I use nrcclientcmd in a Launcher in Linux? I'm just trying to save myself a little typing.

nrclientcmd -d mydomain -u myusername works great in a terminal, but if I try the same command in a Launcher in terminal it fails. Similarly a Launcher with gnome-terminal -e nrclientcmd works fine, but if I add any parameters it fails. I've also tried writing a bash script:

! /bin/bash
gnome-terminal -e nrclientcmd -d mydomain -u myusername

and it fails when I try to pass on the parameters.
TIA. Larry


Top
 Profile  
 
 Post subject: Re: CLI parameters in Launcher? (Linux)
PostPosted: Fri May 14, 2010 4:52 am 
Offline

Joined: Sun Nov 16, 2008 6:41 am
Posts: 1878
hi drfox,

please try this

Code:
gnome-terminal -x bash -c "nrclientcmd -d mydomain -u myusername"


for more information about gnome-terminal, please check out http://pwet.fr/man/linux/commandes/gnome_terminal

thanks,
KevinZ - NeoRouter team


Top
 Profile  
 
 Post subject: Re: CLI parameters in Launcher? (Linux)
PostPosted: Fri May 14, 2010 11:23 am 
Offline

Joined: Mon Apr 19, 2010 7:42 pm
Posts: 26
Perfect! Thanks very much
Larry


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 25 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: