Cannot run double or consecutive commands
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxterminal (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I am unable to run a double or consecutive root commands in Lxterminal using scripts.
E.g. in scripts
sh -c "lxterminal --command sudo... & sudo"
sh -c "lxterminal -e ' sudo... && sudo...'"
Lxterminal is a great lightweight console but useless in scripts because there is no option to stay open or run consecutive commands without entering a password multiple times.
I hope this can be fixed, especially important that it is only terminal app in Lubuntu.
---
ApportVersion: 2.0.1-0ubuntu13
Architecture: i386
DistroRelease: Ubuntu 12.04
InstallationMedia: Lubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
Package: lxterminal 0.1.11-2ubuntu1
PackageArchitec
ProcEnviron:
LANGUAGE=en_CA:en
TERM=xterm
PATH=(custom, no user)
LANG=en_CA.UTF-8
SHELL=/bin/bash
ProcVersionSign
Tags: precise
Uname: Linux 3.2.0-30-generic i686
UpgradeStatus: Upgraded to precise on 2012-05-21 (118 days ago)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
Changed in lxterminal (Ubuntu): | |
status: | Incomplete → New |
have you tried quoting the command list? i.e.
sh -c "lxterminal --command 'sudo blah & sudo blah blah'"
On Thu, 13 Sep 2012 19:28:47 -0000
Pierre <email address hidden> wrote:
> Public bug reported: /bugs.launchpad .net/bugs/ 1050576 /bugs.launchpad .net/ubuntu/ +source/ lxterminal/ +bug/1050576/ +subscriptions
>
> I am unable to run a double or consecutive root commands in Lxterminal
> using scripts.
>
> E.g. in scripts
> sh -c "lxterminal --command sudo... & sudo"
> sh -c "lxterminal -e ' sudo... && sudo...'"
>
> Lxterminal is a great lightweight console but useless in scripts because
> there is no option to stay open or run consecutive commands without
> entering a password multiple times.
>
> I hope this can be fixed, especially important that it is only terminal
> app in Lubuntu.
>
> ** Affects: lxterminal (Ubuntu)
> Importance: Undecided
> Status: New
>
> --
> You received this bug notification because you are a member of Lubuntu
> Packages Team, which is subscribed to lxterminal in Ubuntu.
> https:/
>
> Title:
> Cannot run double or consecutive commands
>
> Status in “lxterminal” package in Ubuntu:
> New
>
> Bug description:
> I am unable to run a double or consecutive root commands in Lxterminal
> using scripts.
>
> E.g. in scripts
> sh -c "lxterminal --command sudo... & sudo"
> sh -c "lxterminal -e ' sudo... && sudo...'"
>
> Lxterminal is a great lightweight console but useless in scripts
> because there is no option to stay open or run consecutive commands
> without entering a password multiple times.
>
> I hope this can be fixed, especially important that it is only
> terminal app in Lubuntu.
>
> To manage notifications about this bug go to:
> https:/