Iuri Guilherme dos Santos Martins wrote:
> Your script is very good, by the way.
> Thanks for sharing :D
Thank you, and a pleasure.
Chris
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: htt
Em 02-12-2011 17:36, Mart Frauenlob escreveu:
ok, after reading the online help for xterm:
as it calls a shell normally, why not let the shell just execute one
command with the '-c' option?
xterm -e sh -c 'icedove &'
how does that behave?
xterm should close after the shell closes, right?
On 02.12.2011 17:09, Iuri Guilherme dos Santos Martins wrote:
Em 01-12-2011 17:28, Mart Frauenlob escreveu:
why use a shubshell for icedove, we expect to use the output for
something?
better use single quotes to protect the `&' to be parsed by the shell
and to prevent from word splitting, so we
Your script is very good, by the way.
I used that to fix some errors i had in my Openbox menu that I was
procrastinating to solve (nothing that couldn't be done by command line
anyways).
Thanks for sharing :D
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject o
Iuri Guilherme dos Santos Martins wrote:
> Well, if you are willing to learn bash then what I would recommend is
> exactly what Chris said [...]
You don't need to learn bash to use the script I've offered. (Others here
can sanity-check it so you don't need to "trust" my coding.)
Chris
--
To
Well, the way that you could produce a bash script file and then run it
with only one command would be like this:
echo "#!/bin/bash \nicedove & \nexit" > script.sh && bash script.sh &&
rm script.sh
Just make sure your Lua interpreter can understand the &&
What that does is create a file call
Em 01-12-2011 17:28, Mart Frauenlob escreveu:
why use a shubshell for icedove, we expect to use the output for
something?
better use single quotes to protect the `&' to be parsed by the shell
and to prevent from word splitting, so we keep it as one 'word' option
for xterm.
echo exit > xter
Le 01/12/2011 20:36, Iuri Guilherme dos Santos Martins a écrit :
Now I get it,
You must use the same command i sent you, however in the Lua language
you should have an option to detach the command from the terminal
Unfortunately, there is no such thing.
That should work (assuming that no
On 30.11.2011 17:25, Iuri Guilherme dos Santos Martins wrote:
Well, the example i gave you opens another terminal (xterm) and opens
icedove without closing the first terminal nor the second (assuming that
you was using xterm in the first place).
If you want the terminal to be closed, you may use
Now I get it,
You must use the same command i sent you, however in the Lua language
you should have an option to detach the command from the terminal that
you are using, and to close the terminal.
That should work (assuming that now i did understand what you are doing).
--
To UNSUBSCRIBE, e
Em 01-12-2011 11:08, Chris Davies escreveu:
> Paul Isambert wrote:
>
>> But Icedove still stays attached to the first terminal...
>>
> Just to check, you want to be able to start icedove from the command
> line in (say) an xterm, but have it continue to run even when that
> xterm is closed?
No:
Em 01-12-2011 11:08, Chris Davies escreveu:
Paul Isambert wrote:
But Icedove still stays attached to the first terminal...
Just to check, you want to be able to start icedove from the command
line in (say) an xterm, but have it continue to run even when that xterm
is closed? And you'
Paul Isambert wrote:
> But Icedove still stays attached to the first terminal...
Just to check, you want to be able to start icedove from the command
line in (say) an xterm, but have it continue to run even when that xterm
is closed? And you're not really interested in stdout/stderr.
I use thund
The first terminal you say is supposed to be closed?
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4ed76b6e.4010...@gmail.com
Le 30/11/2011 17:02, Clive Standbridge a écrit :
I don't know anything about Lua, but searching around suggests that
os.execute executes its command in a shell, not directly. In that case
you should be able to use a command like
icedove &
No, that didn't work, the terminal closes and icedo
Well, the example i gave you opens another terminal (xterm) and opens
icedove without closing the first terminal nor the second (assuming that
you was using xterm in the first place).
If you want the terminal to be closed, you may use:
echo exit > xterm -e `icedove &` & (if you want the xterm
Paul Isambert wrote:
> Thanks Clive for your help. Unfortunately Icedove stays attached to the
> uppermost terminal (which I want to close too, perhaps that wasn't
> clear). Even with the simplest form:
>
> bash --rcfile <(echo icedove \&)
>
> when I close the terminal, it closes Icedove.
>
>
Le 30/11/2011 15:52, Iuri Guilherme dos Santos Martins a écrit :
I did not understand what you wanted, but i guess
`xterm -e `icedove &` ` is close to the command you are looking for.
The `` are used by bash to open a sub shell. (Assuming you are using
bash).
Thank you Iuri, but the termi
I did not understand what you wanted, but i guess
`xterm -e `icedove &` ` is close to the command you are looking for.
The `` are used by bash to open a sub shell. (Assuming you are using bash).
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe".
Le 30/11/2011 14:29, Clive Standbridge a écrit :
Paul Isambert wrote:
Hello there,
When started from gnome-terminal, Icedove stays attached to it. I can
detach it by executing "icedove&". The problem is, I can't seem to do
that recursively, i.e. from the terminal call another terminal which
ca
Paul Isambert wrote:
> Hello there,
>
>
> When started from gnome-terminal, Icedove stays attached to it. I can
> detach it by executing "icedove &". The problem is, I can't seem to do
> that recursively, i.e. from the terminal call another terminal which
> calls "icedove &". The following works:
21 matches
Mail list logo