1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-29 22:36:38 +02:00

exec: don't use shell by default when executing commands (for security reasons)

It is possible to force shell by default with this command:
/set exec.command.default_options "-sh"
This commit is contained in:
Sebastien Helleu
2014-03-17 14:59:00 +01:00
parent e84eaafe8e
commit 30de830982
19 changed files with 123 additions and 107 deletions
+41 -41
View File
@@ -12,49 +12,49 @@
-set <id> <property> <value>
-del <id>|-all [<id>...]
-list: zeigt laufende Befehle an
-sh: die shell wird verwendet um Befehle auszuführen (Standardverhalten)
-nosh: die shell wird nicht verwendet um Befehle auszuführen (wird benötigt, falls der Befehl mit sensiblen Daten hantiert. Zum Beispiel der Inhalt einer Nachricht eines anderen Users)
-bg: führt Prozess im Hintergrund aus: gibt weder eine Prozessausgabe noch einen Rückgabewert aus (nicht kompatibel mit Optionen -o/-n)
-nobg: gibt Prozessausgabe und Rückgabewert aus (Standardverhalten)
-stdin: erstellt eine PIPE um Daten zu dem Prozess zu senden (mittels /exec -in/-inclose)
-nostdin: es wird keine PIPE für stdin erstellt (Standardverhalten)
-buffer: zeigt/sendet Ausgabe des Befehls an diesen Buffer (wird der angegebene Buffer nicht gefunden wird ein neuer Bufger mit dem Namen "exec.exec.xxx" erstellt)
-l: gibt die Ausgabe des Befehls lokal im Buffer aus (Standardverhalten)
-o: gibt die Ausgabe des Befehls im Buffer aus (nicht kompatibel mit Option -bg)
-n: gibt die Ausgabe des Befehls in einem neuen Buffer aus (nicht kompatibel mit Option -bg)
-sw: es wird zum Ausgabebuffer gewechselt (Standardverhalten)
-nosw: es wird nicht zum Ausgabebuffer gewechselt
-ln: legt eine Zeilennummerierung an (Standardverhalten, nur für neue Buffer)
-noln: es wird keine Zeilennummerierung angezeigt
-color: es wird eine der folgenden Aktionen bei ANSI Zeichenkodierungen in der Ausgabe durchgeführt:
ansi: ANSI-Kodierung wird beibehalten
auto: konvertiert ANSI-Farben nach WeeChat/IRC (Standardverhalten)
irc: konvertiert ANSI-Farben nach IRC Farben
weechat: konvertiert ANSI-Farben nach WeeChat-Farben
strip: ANSI-Farben werden entfernt
-rc: der Rückgabewert wird ausgegeben (Standardverhalten)
-norc: der Rückgabewert wird unterdrückt
-timeout: gibt eine Zeitbeschränkung für den auszuführenden Befehl an (in Sekunden)
-name: dem Befehl wird ein Name zugewiesen (um den Befehl später mittels /exec zu nutzen)
-pipe: sendet die Ausgabe an einen Befehl von WeeChat/Erweiterung (Zeile für Zeile); sollen Leerzeichen im Befehl/Argument verwendet werden, müssen diese mit Anführungszeichen eingeschlossen werden; Variable $line wird durch die entsprechende Zeile ersetzt (standardmäßig wird die Zeile, getrennt durch ein Leerzeichen, dem Befehl nachgestellt (nicht kompatibel mit den Optionen -bg/-o/-n)
-hsignal: sendet die Ausgabe als hsignal (um es z.B. mittels /trigger zu verwenden) (nicht kompatibel mit den Optionen -bg/-o/-n)
command: Befehl der ausgeführt werden soll; beginnt der Befehl mit "url:", wird die shell deaktiviert und der Inhalt der URL wird heruntergeladen und im Buffer ausgegeben
id: identifiziert eindeutig einen Befehl: entweder durch eine Nummer oder einen Namen (sofern ein Name mittels "-name xxx" zugewiesen wurde)
-in: sendet Text an die Standardeingabe des Prozesses
-inclose: wie -in aber stdin wird danach geschlossen (und der Text ist optional: ohne Text wird stdin umgehend geschlossen
-signal: schickt ein Signal an den Prozess; das Signal kann entweder ein Integerwert oder eines der folgenden Schlüsselworte sein: hup, int, quit, kill, term, usr1, usr2
-kill: Alias für "-signal <id> kill"
-killall: beendet alle laufenden Prozesse
-set: nutzt eine Hook-Fähigkeit (siehe Funktion hook_set in Anleitung für API Erweiterung)
property: Hook-Fähigkeit
value: neuer Wert für Hook-Fähigkeit
-del: entfernt einen beendeten Befehl
-all: entfernt alle beendeten Befehle
-list: list commands
-sh: use the shell to execute the command (WARNING: use this option ONLY if all arguments are safe date, see option -nosh)
-nosh: do not use the shell to execute the command (required if the command has some unsafe data, for example the content of a message from another user) (default)
-bg: run process in background: do not display process output neither return code (not compatible with options -o/-n)
-nobg: catch process output and display return code (default)
-stdin: create a pipe for sending data to the process (with /exec -in/-inclose)
-nostdin: do not create a pipe for stdin (default)
-buffer: display/send output of command on this buffer (if the buffer is not found, a new buffer with name "exec.exec.xxx" is created)
-l: display locally output of command on buffer (default)
-o: send output of command to the buffer (not compatible with option -bg)
-n: display output of command in a new buffer (not compatible with option -bg)
-sw: switch to the output buffer (default)
-nosw: don't switch to the output buffer
-ln: display line numbers (default in new buffer only)
-noln: don't display line numbers
-color: action on ANSI colors in output:
ansi: keep ANSI codes as-is
auto: convert ANSI colors to WeeChat/IRC (default)
irc: convert ANSI colors to IRC colors
weechat: convert ANSI colors to WeeChat colors
strip: remove ANSI colors
-rc: display return code (default)
-norc: don't display return code
-timeout: set a timeout for the command (in seconds)
-name: set a name for the command (to name it later with /exec)
-pipe: send the output to a WeeChat/plugin command (line by line); if there are spaces in command/arguments, enclose them with double quotes; variable $line is replaced by the line (by default the line is added after the command, separated by a space) (not compatible with options -bg/-o/-n)
-hsignal: send the output as a hsignal (to be used for example in a trigger) (not compatible with options -bg/-o/-n)
command: the command to execute; if beginning with "url:", the shell is disabled and the content of URL is downloaded and sent as output
id: command identifier: either its number or name (if set with "-name xxx")
-in: send text on standard input of process
-inclose: same as -in, but stdin is closed after (and text is optional: without text, the stdin is just closed)
-signal: send a signal to the process; the signal can be an integer or one of these names: hup, int, quit, kill, term, usr1, usr2
-kill: alias of "-signal <id> kill"
-killall: kill all running processes
-set: set a hook property (see function hook_set in plugin API reference)
property: hook property
value: new value for hook property
-del: delete a terminated command
-all: delete all terminated commands
Standardoptionen können in der Option exec.command.default_options bestimmt werden.
Default options can be set in the option exec.command.default_options.
Beispiele:
Examples:
/exec -n ls -l /tmp
/exec -n ps xu | grep weechat
/exec -n -norc url:http://pastebin.com/raw.php?i=xxxxxxxx
+2 -2
View File
@@ -13,8 +13,8 @@
-del <id>|-all [<id>...]
-list: list commands
-sh: use the shell to execute the command (default)
-nosh: do not use the shell to execute the command (required if the command has some unsafe data, for example the content of a message from another user)
-sh: use the shell to execute the command (WARNING: use this option ONLY if all arguments are safe date, see option -nosh)
-nosh: do not use the shell to execute the command (required if the command has some unsafe data, for example the content of a message from another user) (default)
-bg: run process in background: do not display process output neither return code (not compatible with options -o/-n)
-nobg: catch process output and display return code (default)
-stdin: create a pipe for sending data to the process (with /exec -in/-inclose)
+2 -2
View File
@@ -13,8 +13,8 @@
-del <id>|-all [<id>...]
-list: lister les commandes
-sh: utiliser le shell pour exécuter la commande (par défaut)
-nosh: ne pas utiliser le shell pour exécuter la commande (requis si la commande a des données non fiables, par exemple le contenu d'un message d'un autre utilisateur)
-sh: utiliser le shell pour exécuter la commande (ATTENTION : utilisez cette option SEULEMENT si tous les paramètres sont des données fiables, voir l'option -nosh)
-nosh: ne pas utiliser le shell pour exécuter la commande (requis si la commande a des données non fiables, par exemple le contenu d'un message d'un autre utilisateur) (par défaut)
-bg: lancer le processus en tâche de fond : ne pas afficher la sortie ni le code retour (non compatible avec les options -o/-n)
-nobg: capturer la sortie du processus et afficher le code retour (par défaut)
-stdin: créer un tuyau pour envoyer des données sur l'entrée standard du processus (avec /exec -in/-inclose)
+2 -2
View File
@@ -13,8 +13,8 @@
-del <id>|-all [<id>...]
-list: list commands
-sh: use the shell to execute the command (default)
-nosh: do not use the shell to execute the command (required if the command has some unsafe data, for example the content of a message from another user)
-sh: use the shell to execute the command (WARNING: use this option ONLY if all arguments are safe date, see option -nosh)
-nosh: do not use the shell to execute the command (required if the command has some unsafe data, for example the content of a message from another user) (default)
-bg: run process in background: do not display process output neither return code (not compatible with options -o/-n)
-nobg: catch process output and display return code (default)
-stdin: create a pipe for sending data to the process (with /exec -in/-inclose)
+2 -2
View File
@@ -13,8 +13,8 @@
-del <id>|-all [<id>...]
-list: list commands
-sh: use the shell to execute the command (default)
-nosh: do not use the shell to execute the command (required if the command has some unsafe data, for example the content of a message from another user)
-sh: use the shell to execute the command (WARNING: use this option ONLY if all arguments are safe date, see option -nosh)
-nosh: do not use the shell to execute the command (required if the command has some unsafe data, for example the content of a message from another user) (default)
-bg: run process in background: do not display process output neither return code (not compatible with options -o/-n)
-nobg: catch process output and display return code (default)
-stdin: create a pipe for sending data to the process (with /exec -in/-inclose)
+2 -2
View File
@@ -13,8 +13,8 @@
-del <id>|-all [<id>...]
-list: list commands
-sh: use the shell to execute the command (default)
-nosh: do not use the shell to execute the command (required if the command has some unsafe data, for example the content of a message from another user)
-sh: use the shell to execute the command (WARNING: use this option ONLY if all arguments are safe date, see option -nosh)
-nosh: do not use the shell to execute the command (required if the command has some unsafe data, for example the content of a message from another user) (default)
-bg: run process in background: do not display process output neither return code (not compatible with options -o/-n)
-nobg: catch process output and display return code (default)
-stdin: create a pipe for sending data to the process (with /exec -in/-inclose)
+4 -3
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2014-03-16 10:13+0100\n"
"POT-Creation-Date: 2014-03-17 14:56+0100\n"
"PO-Revision-Date: 2014-03-10 21:06+0100\n"
"Last-Translator: Jiri Golembiovsky <golemj@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -4631,10 +4631,11 @@ msgstr ""
msgid ""
" -list: list commands\n"
" -sh: use the shell to execute the command (default)\n"
" -sh: use the shell to execute the command (WARNING: use this option "
"ONLY if all arguments are safe date, see option -nosh)\n"
" -nosh: do not use the shell to execute the command (required if the "
"command has some unsafe data, for example the content of a message from "
"another user)\n"
"another user) (default)\n"
" -bg: run process in background: do not display process output neither "
"return code (not compatible with options -o/-n)\n"
" -nobg: catch process output and display return code (default)\n"
+19 -17
View File
@@ -22,7 +22,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2014-03-16 10:13+0100\n"
"POT-Creation-Date: 2014-03-17 14:56+0100\n"
"PO-Revision-Date: 2014-03-16 14:05+0100\n"
"Last-Translator: Nils Görs <weechatter@arcor.de>\n"
"Language-Team: German <weechatter@arcor.de>\n"
@@ -45,11 +45,11 @@ msgid "max chars"
msgstr "maximale Zeichenanzahl"
msgid ""
"a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)"
"green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal "
"color number or an alias; attributes are allowed before color (for text "
"color only, not background): \"*\" for bold, \"!\" for reverse, \"/\" for "
"italic, \"_\" for underline"
"a WeeChat color name (default, black, (dark)gray, white, (light)red, "
"(light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a "
"terminal color number or an alias; attributes are allowed before color (for "
"text color only, not background): \"*\" for bold, \"!\" for reverse, \"/\" "
"for italic, \"_\" for underline"
msgstr ""
"ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, "
"(light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine "
@@ -5153,9 +5153,9 @@ msgid ""
"suggestions in all languages)"
msgstr ""
"legt die Anzahl an Vorschlägen, für ein falsch geschriebenes Wort, fest. Die "
"Vorschläge werden mittels der Bar-Item \"aspell_suggest\", für die jeweilige"
"(n) Sprache(n), die für den Buffer augewählt wurden, angezeigt (-1 = "
"deaktiviert die Funktion, 0 = zeigt alle verfügbaren Vorschläge, für alle "
"Vorschläge werden mittels der Bar-Item \"aspell_suggest\", für die "
"jeweilige(n) Sprache(n), die für den Buffer augewählt wurden, angezeigt (-1 "
"= deaktiviert die Funktion, 0 = zeigt alle verfügbaren Vorschläge, für alle "
"ausgewählten Sprachen, an)"
msgid ""
@@ -5340,12 +5340,14 @@ msgstr ""
"<signal> || -kill <id> || -killall || -set <id> <property> <value> || -del "
"<id>|-all [<id>...]"
#, fuzzy
msgid ""
" -list: list commands\n"
" -sh: use the shell to execute the command (default)\n"
" -sh: use the shell to execute the command (WARNING: use this option "
"ONLY if all arguments are safe date, see option -nosh)\n"
" -nosh: do not use the shell to execute the command (required if the "
"command has some unsafe data, for example the content of a message from "
"another user)\n"
"another user) (default)\n"
" -bg: run process in background: do not display process output neither "
"return code (not compatible with options -o/-n)\n"
" -nobg: catch process output and display return code (default)\n"
@@ -6096,8 +6098,8 @@ msgstr ""
"werden)\n"
" - Hostname/Port oder IP/Port (damit wird lediglich ein "
"TEMPORÄRER Server erstellt), Port 6667 wird standardmäßig verwendet\n"
" - URL mit folgendem Format: irc[6][s]://[nickname[:password]@]"
"irc.example.org[:port][/#channel1][,#channel2[...]]\n"
" - URL mit folgendem Format: irc[6][s]://[nickname[:"
"password]@]irc.example.org[:port][/#channel1][,#channel2[...]]\n"
" option: legt Option für den Server fest (die Boolean-Optionen können "
"weggelassen werden)\n"
" nooption: deaktiviert eine Boolean Option (Beispiel: -nossl)\n"
@@ -11241,8 +11243,8 @@ msgid ""
"Examples (you can also look at default triggers with /trigger listdefault):\n"
" add text attributes *bold*, _underline_ and /italic/ (only in user "
"messages):\n"
" /trigger add effects modifier weechat_print \"${tg_tag_nick}\" \"==\\*"
"(\\S+)\\*==*${color:bold}$1${color:-bold}*== ==_(\\S+)_==_${color:"
" /trigger add effects modifier weechat_print \"${tg_tag_nick}\" \"=="
"\\*(\\S+)\\*==*${color:bold}$1${color:-bold}*== ==_(\\S+)_==_${color:"
"underline}$1${color:-underline}_== ==/(\\S+)/==/${color:italic}$1${color:-"
"italic}/\"\n"
" hide nicklist bar on small terminals:\n"
@@ -11325,8 +11327,8 @@ msgstr ""
"trigger listdefault\" anzeigen lassen):\n"
" fügt einer Nachricht die Textattribute *fett*, _unterstrichen_ und /"
"kursiv/ hinzu:\n"
" /trigger add effects modifier weechat_print \"${tg_tag_nick}\" \"==\\*"
"(\\S+)\\*==*${color:bold}$1${color:-bold}*== ==_(\\S+)_==_${color:"
" /trigger add effects modifier weechat_print \"${tg_tag_nick}\" \"=="
"\\*(\\S+)\\*==*${color:bold}$1${color:-bold}*== ==_(\\S+)_==_${color:"
"underline}$1${color:-underline}_== ==/(\\S+)/==/${color:italic}$1${color:-"
"italic}/\"\n"
" verbirgt die Nicklist auf kleineren Terminals:\n"
+4 -3
View File
@@ -22,7 +22,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2014-03-16 10:13+0100\n"
"POT-Creation-Date: 2014-03-17 14:56+0100\n"
"PO-Revision-Date: 2014-03-10 21:07+0100\n"
"Last-Translator: Elián Hanisch <lambdae2@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -4846,10 +4846,11 @@ msgstr ""
msgid ""
" -list: list commands\n"
" -sh: use the shell to execute the command (default)\n"
" -sh: use the shell to execute the command (WARNING: use this option "
"ONLY if all arguments are safe date, see option -nosh)\n"
" -nosh: do not use the shell to execute the command (required if the "
"command has some unsafe data, for example the content of a message from "
"another user)\n"
"another user) (default)\n"
" -bg: run process in background: do not display process output neither "
"return code (not compatible with options -o/-n)\n"
" -nobg: catch process output and display return code (default)\n"
+9 -6
View File
@@ -21,8 +21,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2014-03-16 10:13+0100\n"
"PO-Revision-Date: 2014-03-17 07:12+0100\n"
"POT-Creation-Date: 2014-03-17 14:56+0100\n"
"PO-Revision-Date: 2014-03-17 14:57+0100\n"
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: fr\n"
@@ -5212,10 +5212,11 @@ msgstr ""
msgid ""
" -list: list commands\n"
" -sh: use the shell to execute the command (default)\n"
" -sh: use the shell to execute the command (WARNING: use this option "
"ONLY if all arguments are safe date, see option -nosh)\n"
" -nosh: do not use the shell to execute the command (required if the "
"command has some unsafe data, for example the content of a message from "
"another user)\n"
"another user) (default)\n"
" -bg: run process in background: do not display process output neither "
"return code (not compatible with options -o/-n)\n"
" -nobg: catch process output and display return code (default)\n"
@@ -5277,10 +5278,12 @@ msgid ""
" /exec -pipe \"/print Machine uptime:\" uptime"
msgstr ""
" -list: lister les commandes\n"
" -sh: utiliser le shell pour exécuter la commande (par défaut)\n"
" -sh: utiliser le shell pour exécuter la commande (ATTENTION : utilisez "
"cette option SEULEMENT si tous les paramètres sont des données fiables, voir "
"l'option -nosh)\n"
" -nosh: ne pas utiliser le shell pour exécuter la commande (requis si la "
"commande a des données non fiables, par exemple le contenu d'un message d'un "
"autre utilisateur)\n"
"autre utilisateur) (par défaut)\n"
" -bg: lancer le processus en tâche de fond : ne pas afficher la sortie "
"ni le code retour (non compatible avec les options -o/-n)\n"
" -nobg: capturer la sortie du processus et afficher le code retour (par "
+4 -3
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2014-03-16 10:13+0100\n"
"POT-Creation-Date: 2014-03-17 14:56+0100\n"
"PO-Revision-Date: 2014-03-10 21:07+0100\n"
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -4220,10 +4220,11 @@ msgstr ""
msgid ""
" -list: list commands\n"
" -sh: use the shell to execute the command (default)\n"
" -sh: use the shell to execute the command (WARNING: use this option "
"ONLY if all arguments are safe date, see option -nosh)\n"
" -nosh: do not use the shell to execute the command (required if the "
"command has some unsafe data, for example the content of a message from "
"another user)\n"
"another user) (default)\n"
" -bg: run process in background: do not display process output neither "
"return code (not compatible with options -o/-n)\n"
" -nobg: catch process output and display return code (default)\n"
+4 -3
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2014-03-16 10:13+0100\n"
"POT-Creation-Date: 2014-03-17 14:56+0100\n"
"PO-Revision-Date: 2014-03-10 21:07+0100\n"
"Last-Translator: Esteban I. Ruiz Moreno <exio4.com@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -4984,10 +4984,11 @@ msgstr ""
msgid ""
" -list: list commands\n"
" -sh: use the shell to execute the command (default)\n"
" -sh: use the shell to execute the command (WARNING: use this option "
"ONLY if all arguments are safe date, see option -nosh)\n"
" -nosh: do not use the shell to execute the command (required if the "
"command has some unsafe data, for example the content of a message from "
"another user)\n"
"another user) (default)\n"
" -bg: run process in background: do not display process output neither "
"return code (not compatible with options -o/-n)\n"
" -nobg: catch process output and display return code (default)\n"
+4 -3
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2014-03-16 10:13+0100\n"
"POT-Creation-Date: 2014-03-17 14:56+0100\n"
"PO-Revision-Date: 2014-03-10 21:07+0100\n"
"Last-Translator: AYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>\n"
"Language-Team: Japanese <https://github.com/l/WeeChat>\n"
@@ -4991,10 +4991,11 @@ msgstr ""
msgid ""
" -list: list commands\n"
" -sh: use the shell to execute the command (default)\n"
" -sh: use the shell to execute the command (WARNING: use this option "
"ONLY if all arguments are safe date, see option -nosh)\n"
" -nosh: do not use the shell to execute the command (required if the "
"command has some unsafe data, for example the content of a message from "
"another user)\n"
"another user) (default)\n"
" -bg: run process in background: do not display process output neither "
"return code (not compatible with options -o/-n)\n"
" -nobg: catch process output and display return code (default)\n"
+4 -3
View File
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2014-03-16 10:13+0100\n"
"POT-Creation-Date: 2014-03-17 14:56+0100\n"
"PO-Revision-Date: 2014-03-10 21:07+0100\n"
"Last-Translator: Krzysztof Korościk <soltys@szluug.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -5103,10 +5103,11 @@ msgstr ""
msgid ""
" -list: list commands\n"
" -sh: use the shell to execute the command (default)\n"
" -sh: use the shell to execute the command (WARNING: use this option "
"ONLY if all arguments are safe date, see option -nosh)\n"
" -nosh: do not use the shell to execute the command (required if the "
"command has some unsafe data, for example the content of a message from "
"another user)\n"
"another user) (default)\n"
" -bg: run process in background: do not display process output neither "
"return code (not compatible with options -o/-n)\n"
" -nobg: catch process output and display return code (default)\n"
+4 -3
View File
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2014-03-16 10:13+0100\n"
"POT-Creation-Date: 2014-03-17 14:56+0100\n"
"PO-Revision-Date: 2014-03-10 21:07+0100\n"
"Last-Translator: Sergio Durigan Junior <sergiosdj@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -4687,10 +4687,11 @@ msgstr ""
msgid ""
" -list: list commands\n"
" -sh: use the shell to execute the command (default)\n"
" -sh: use the shell to execute the command (WARNING: use this option "
"ONLY if all arguments are safe date, see option -nosh)\n"
" -nosh: do not use the shell to execute the command (required if the "
"command has some unsafe data, for example the content of a message from "
"another user)\n"
"another user) (default)\n"
" -bg: run process in background: do not display process output neither "
"return code (not compatible with options -o/-n)\n"
" -nobg: catch process output and display return code (default)\n"
+4 -3
View File
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2014-03-16 10:13+0100\n"
"POT-Creation-Date: 2014-03-17 14:56+0100\n"
"PO-Revision-Date: 2014-03-10 21:07+0100\n"
"Last-Translator: Aleksey V Zapparov AKA ixti <ixti@member.fsf.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -4253,10 +4253,11 @@ msgstr ""
msgid ""
" -list: list commands\n"
" -sh: use the shell to execute the command (default)\n"
" -sh: use the shell to execute the command (WARNING: use this option "
"ONLY if all arguments are safe date, see option -nosh)\n"
" -nosh: do not use the shell to execute the command (required if the "
"command has some unsafe data, for example the content of a message from "
"another user)\n"
"another user) (default)\n"
" -bg: run process in background: do not display process output neither "
"return code (not compatible with options -o/-n)\n"
" -nobg: catch process output and display return code (default)\n"
+4 -3
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2014-03-16 10:13+0100\n"
"POT-Creation-Date: 2014-03-17 14:56+0100\n"
"PO-Revision-Date: 2014-03-10 21:07+0100\n"
"Last-Translator: Hasan Kiran <sunder67@hotmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -3809,10 +3809,11 @@ msgstr ""
msgid ""
" -list: list commands\n"
" -sh: use the shell to execute the command (default)\n"
" -sh: use the shell to execute the command (WARNING: use this option "
"ONLY if all arguments are safe date, see option -nosh)\n"
" -nosh: do not use the shell to execute the command (required if the "
"command has some unsafe data, for example the content of a message from "
"another user)\n"
"another user) (default)\n"
" -bg: run process in background: do not display process output neither "
"return code (not compatible with options -o/-n)\n"
" -nobg: catch process output and display return code (default)\n"
+4 -3
View File
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.4.1-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2014-03-16 10:13+0100\n"
"POT-Creation-Date: 2014-03-17 14:56+0100\n"
"PO-Revision-Date: 2013-02-14 18:20+0100\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -3809,10 +3809,11 @@ msgstr ""
msgid ""
" -list: list commands\n"
" -sh: use the shell to execute the command (default)\n"
" -sh: use the shell to execute the command (WARNING: use this option "
"ONLY if all arguments are safe date, see option -nosh)\n"
" -nosh: do not use the shell to execute the command (required if the "
"command has some unsafe data, for example the content of a message from "
"another user)\n"
"another user) (default)\n"
" -bg: run process in background: do not display process output neither "
"return code (not compatible with options -o/-n)\n"
" -nobg: catch process output and display return code (default)\n"
+4 -3
View File
@@ -381,7 +381,7 @@ exec_command_run (struct t_gui_buffer *buffer,
/* parse command options */
cmd_options.command_index = -1;
cmd_options.use_shell = 1;
cmd_options.use_shell = 0;
cmd_options.detached = 0;
cmd_options.pipe_stdin = 0;
cmd_options.timeout = 0;
@@ -764,10 +764,11 @@ exec_command_init ()
" || -set <id> <property> <value>"
" || -del <id>|-all [<id>...]"),
N_(" -list: list commands\n"
" -sh: use the shell to execute the command (default)\n"
" -sh: use the shell to execute the command (WARNING: use this "
"option ONLY if all arguments are safe date, see option -nosh)\n"
" -nosh: do not use the shell to execute the command (required if "
"the command has some unsafe data, for example the content of a "
"message from another user)\n"
"message from another user) (default)\n"
" -bg: run process in background: do not display process output "
"neither return code (not compatible with options -o/-n)\n"
" -nobg: catch process output and display return code (default)\n"