Re: [Fab-user] hanging problem of a command when executing via fabric

2010-06-22 Thread Rama Vadakattu
you tried sudo(suwww) instead of run(sudo suwww) ? On Tue, Jun 22, 2010 at 11:49, Rama Vadakattu rama.vadaka...@gmail.com wrote: Hi all, When i am running the below command on one of the machine via fabric it is getting hanged. def execute_lmo_scripts(): print preparing to execute

Re: [Fab-user] hanging problem of a command when executing via fabric

2010-06-22 Thread Rama Vadakattu
tries to spawn a new shell per default, and you got no permission for that. sudo(suwww, shell=False) should work Regards, Nico On Tue, Jun 22, 2010 at 3:37 PM, Rama Vadakattu rama.vadaka...@gmail.comwrote: I tried that way too \ below is sample output that i am getting

[Fab-user] hanging problem of a command when executing via fabric

2010-06-23 Thread Rama Vadakattu
Hi all, When i am running the below command on one of the machine via fabric it is getting hanged. *def execute_lmo_scripts():* *print preparing to execute lmo scripts* *output = run(sudo suwww ; )* * * If i manually run the command on the remote server it is being