2022-01-09 02:54:51 +01:00

523 lines
33 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!doctype html>
<html class="no-js">
<head><meta charset="utf-8"/>
<meta name="viewport" content="width=device-width,initial-scale=1"/>
<meta name="color-scheme" content="light dark"><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
<link rel="index" title="Index" href="../../genindex.html" /><link rel="search" title="Search" href="../../search.html" /><link rel="next" title="help" href="help.html" /><link rel="prev" title="eval" href="eval.html" />
<meta name="generator" content="sphinx-4.3.1, furo 2021.11.23"/>
<title>exec - Neırssi documentation</title>
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="../../_static/styles/furo.css?digest=7f0192ddeb2adecfbaa87ffbcf67d16358b30bc1" />
<link rel="stylesheet" type="text/css" href="../../_static/styles/furo-extensions.css?digest=0af69da206d614734f649b27d4cdc2dd6c31f41d" />
<link rel="stylesheet" type="text/css" href="../../_static/theme_tweak.css" />
<style>
body {
--color-code-background: #f8f8f8;
--color-code-foreground: black;
}
body[data-theme="dark"] {
--color-code-background: #202020;
--color-code-foreground: #d0d0d0;
}
@media (prefers-color-scheme: dark) {
body:not([data-theme="light"]) {
--color-code-background: #202020;
--color-code-foreground: #d0d0d0;
}
}
</style></head>
<body>
<script>
document.body.dataset.theme = localStorage.getItem("theme") || "auto";
</script>
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
<symbol id="svg-toc" viewBox="0 0 24 24">
<title>Contents</title>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor"
stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z" />
<line x1="4" y1="6" x2="20" y2="6" />
<line x1="10" y1="12" x2="20" y2="12" />
<line x1="6" y1="18" x2="20" y2="18" />
</svg>
</symbol>
<symbol id="svg-menu" viewBox="0 0 24 24">
<title>Menu</title>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor"
stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather-menu">
<line x1="3" y1="12" x2="21" y2="12"></line>
<line x1="3" y1="6" x2="21" y2="6"></line>
<line x1="3" y1="18" x2="21" y2="18"></line>
</svg>
</symbol>
<symbol id="svg-arrow-right" viewBox="0 0 24 24">
<title>Expand</title>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor"
stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather-chevron-right">
<polyline points="9 18 15 12 9 6"></polyline>
</svg>
</symbol>
<symbol id="svg-sun" viewBox="0 0 24 24">
<title>Light mode</title>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor"
stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" class="feather-sun">
<circle cx="12" cy="12" r="5"></circle>
<line x1="12" y1="1" x2="12" y2="3"></line>
<line x1="12" y1="21" x2="12" y2="23"></line>
<line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line>
<line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line>
<line x1="1" y1="12" x2="3" y2="12"></line>
<line x1="21" y1="12" x2="23" y2="12"></line>
<line x1="4.22" y1="19.78" x2="5.64" y2="18.36"></line>
<line x1="18.36" y1="5.64" x2="19.78" y2="4.22"></line>
</svg>
</symbol>
<symbol id="svg-moon" viewBox="0 0 24 24">
<title>Dark mode</title>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor"
stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" class="icon-tabler-moon">
<path stroke="none" d="M0 0h24v24H0z" fill="none" />
<path d="M12 3c.132 0 .263 0 .393 0a7.5 7.5 0 0 0 7.92 12.446a9 9 0 1 1 -8.313 -12.454z" />
</svg>
</symbol>
<symbol id="svg-sun-half" viewBox="0 0 24 24">
<title>Auto light/dark mode</title>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor"
stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" class="icon-tabler-shadow">
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
<circle cx="12" cy="12" r="9" />
<path d="M13 12h5" />
<path d="M13 15h4" />
<path d="M13 18h1" />
<path d="M13 9h4" />
<path d="M13 6h1" />
</svg>
</symbol>
</svg>
<input type="checkbox" class="sidebar-toggle" name="__navigation" id="__navigation">
<input type="checkbox" class="sidebar-toggle" name="__toc" id="__toc">
<label class="overlay sidebar-overlay" for="__navigation">
<div class="visually-hidden">Hide navigation sidebar</div>
</label>
<label class="overlay toc-overlay" for="__toc">
<div class="visually-hidden">Hide table of contents sidebar</div>
</label>
<div class="page">
<header class="mobile-header">
<div class="header-left">
<label class="nav-overlay-icon" for="__navigation">
<div class="visually-hidden">Toggle site navigation sidebar</div>
<i class="icon"><svg><use href="#svg-menu"></use></svg></i>
</label>
</div>
<div class="header-center">
<a href="../../index.html"><div class="brand">Neırssi documentation</div></a>
</div>
<div class="header-right">
<div class="theme-toggle-container theme-toggle-header">
<button class="theme-toggle">
<div class="visually-hidden">Toggle Light / Dark / Auto color theme</div>
<svg class="theme-icon-when-auto"><use href="#svg-sun-half"></use></svg>
<svg class="theme-icon-when-dark"><use href="#svg-moon"></use></svg>
<svg class="theme-icon-when-light"><use href="#svg-sun"></use></svg>
</button>
</div>
<label class="toc-overlay-icon toc-header-icon" for="__toc">
<div class="visually-hidden">Toggle table of contents sidebar</div>
<i class="icon"><svg><use href="#svg-toc"></use></svg></i>
</label>
</div>
</header>
<aside class="sidebar-drawer">
<div class="sidebar-container">
<div class="sidebar-sticky"><a class="sidebar-brand" href="../../index.html">
<span class="sidebar-brand-text">Neırssi documentation</span>
</a><form class="sidebar-search-container" method="get" action="../../search.html" role="search">
<input class="sidebar-search" placeholder=Search name="q" aria-label="Search">
<input type="hidden" name="check_keywords" value="yes">
<input type="hidden" name="area" value="default">
</form>
<div id="searchbox"></div><div class="sidebar-scroll"><div class="sidebar-tree">
<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="../../Getting.html">Getting the software</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../New-users.html">New users guide</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../User-interface.html">User interface</a></li>
<li class="toctree-l1 has-children"><a class="reference internal" href="../../news/index.html">NEWS</a><input class="toctree-checkbox" id="toctree-checkbox-1" name="toctree-checkbox-1" role="switch" type="checkbox"/><label for="toctree-checkbox-1"><div class="visually-hidden">Toggle child pages in navigation</div><i class="icon"><svg><use href="#svg-arrow-right"></use></svg></i></label><ul>
<li class="toctree-l2"><a class="reference internal" href="../../news/Irssi-1.3.html">Irssi 1.3</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="../../Modules.html">Modules</a></li>
<li class="toctree-l1 current has-children"><a class="reference internal" href="../index.html">On-line help</a><input checked="" class="toctree-checkbox" id="toctree-checkbox-2" name="toctree-checkbox-2" role="switch" type="checkbox"/><label for="toctree-checkbox-2"><div class="visually-hidden">Toggle child pages in navigation</div><i class="icon"><svg><use href="#svg-arrow-right"></use></svg></i></label><ul class="current">
<li class="toctree-l2 current has-children"><a class="reference internal" href="index.html">Help</a><input checked="" class="toctree-checkbox" id="toctree-checkbox-3" name="toctree-checkbox-3" role="switch" type="checkbox"/><label for="toctree-checkbox-3"><div class="visually-hidden">Toggle child pages in navigation</div><i class="icon"><svg><use href="#svg-arrow-right"></use></svg></i></label><ul class="current">
<li class="toctree-l3 has-children"><a class="reference internal" href="cat_Connection.html">Connection</a><input class="toctree-checkbox" id="toctree-checkbox-4" name="toctree-checkbox-4" role="switch" type="checkbox"/><label for="toctree-checkbox-4"><div class="visually-hidden">Toggle child pages in navigation</div><i class="icon"><svg><use href="#svg-arrow-right"></use></svg></i></label><ul>
<li class="toctree-l4"><a class="reference internal" href="connect.html">connect</a></li>
<li class="toctree-l4"><a class="reference internal" href="disconnect.html">disconnect</a></li>
<li class="toctree-l4"><a class="reference internal" href="network.html">network</a></li>
<li class="toctree-l4"><a class="reference internal" href="quit.html">quit</a></li>
<li class="toctree-l4"><a class="reference internal" href="rawlog.html">rawlog</a></li>
<li class="toctree-l4"><a class="reference internal" href="reconnect.html">reconnect</a></li>
<li class="toctree-l4"><a class="reference internal" href="rmreconns.html">rmreconns</a></li>
<li class="toctree-l4"><a class="reference internal" href="server.html">server</a></li>
</ul>
</li>
<li class="toctree-l3 has-children"><a class="reference internal" href="cat_Core%20Commands.html">Core Commands</a><input class="toctree-checkbox" id="toctree-checkbox-5" name="toctree-checkbox-5" role="switch" type="checkbox"/><label for="toctree-checkbox-5"><div class="visually-hidden">Toggle child pages in navigation</div><i class="icon"><svg><use href="#svg-arrow-right"></use></svg></i></label><ul>
<li class="toctree-l4"><a class="reference internal" href="channel.html">channel</a></li>
<li class="toctree-l4"><a class="reference internal" href="cycle.html">cycle</a></li>
<li class="toctree-l4"><a class="reference internal" href="join.html">join</a></li>
<li class="toctree-l4"><a class="reference internal" href="msg.html">msg</a></li>
<li class="toctree-l4"><a class="reference internal" href="names.html">names</a></li>
<li class="toctree-l4"><a class="reference internal" href="query.html">query</a></li>
<li class="toctree-l4"><a class="reference internal" href="unquery.html">unquery</a></li>
</ul>
</li>
<li class="toctree-l3 has-children"><a class="reference internal" href="cat_Window%20Commands.html">Window Commands</a><input class="toctree-checkbox" id="toctree-checkbox-6" name="toctree-checkbox-6" role="switch" type="checkbox"/><label for="toctree-checkbox-6"><div class="visually-hidden">Toggle child pages in navigation</div><i class="icon"><svg><use href="#svg-arrow-right"></use></svg></i></label><ul>
<li class="toctree-l4"><a class="reference internal" href="clear.html">clear</a></li>
<li class="toctree-l4"><a class="reference internal" href="lastlog.html">lastlog</a></li>
<li class="toctree-l4"><a class="reference internal" href="layout.html">layout</a></li>
<li class="toctree-l4"><a class="reference internal" href="scrollback.html">scrollback</a></li>
<li class="toctree-l4 has-children"><a class="reference internal" href="window.html">window</a><input class="toctree-checkbox" id="toctree-checkbox-7" name="toctree-checkbox-7" role="switch" type="checkbox"/><label for="toctree-checkbox-7"><div class="visually-hidden">Toggle child pages in navigation</div><i class="icon"><svg><use href="#svg-arrow-right"></use></svg></i></label><ul>
<li class="toctree-l5"><a class="reference internal" href="window_creation.html">creation</a></li>
<li class="toctree-l5"><a class="reference internal" href="window_changing.html">changing</a></li>
<li class="toctree-l5"><a class="reference internal" href="window_properties.html">attribute manipulation</a></li>
<li class="toctree-l5"><a class="reference internal" href="window_items.html">items</a></li>
<li class="toctree-l5"><a class="reference internal" href="window_moving.html">moving/number changing</a></li>
<li class="toctree-l5"><a class="reference internal" href="window_resizing.html">resizing</a></li>
<li class="toctree-l5"><a class="reference internal" href="window_navigation.html">navigation</a></li>
<li class="toctree-l5"><a class="reference internal" href="window_split_moving.html">moving</a></li>
<li class="toctree-l5"><a class="reference internal" href="window_logging.html">logging</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l3 has-children"><a class="reference internal" href="cat_Settings.html">Settings</a><input class="toctree-checkbox" id="toctree-checkbox-8" name="toctree-checkbox-8" role="switch" type="checkbox"/><label for="toctree-checkbox-8"><div class="visually-hidden">Toggle child pages in navigation</div><i class="icon"><svg><use href="#svg-arrow-right"></use></svg></i></label><ul>
<li class="toctree-l4"><a class="reference internal" href="alias.html">alias</a></li>
<li class="toctree-l4 has-children"><a class="reference internal" href="bind.html">bind</a><input class="toctree-checkbox" id="toctree-checkbox-9" name="toctree-checkbox-9" role="switch" type="checkbox"/><label for="toctree-checkbox-9"><div class="visually-hidden">Toggle child pages in navigation</div><i class="icon"><svg><use href="#svg-arrow-right"></use></svg></i></label><ul>
<li class="toctree-l5"><a class="reference internal" href="bind_-list.html">bind -list</a></li>
</ul>
</li>
<li class="toctree-l4"><a class="reference internal" href="completion.html">completion</a></li>
<li class="toctree-l4"><a class="reference internal" href="dehilight.html">dehilight</a></li>
<li class="toctree-l4"><a class="reference internal" href="format.html">format</a></li>
<li class="toctree-l4"><a class="reference internal" href="hilight.html">hilight</a></li>
<li class="toctree-l4"><a class="reference internal" href="ignore.html">ignore</a></li>
<li class="toctree-l4"><a class="reference internal" href="log.html">log</a></li>
<li class="toctree-l4"><a class="reference internal" href="recode.html">recode</a></li>
<li class="toctree-l4"><a class="reference internal" href="reload.html">reload</a></li>
<li class="toctree-l4"><a class="reference internal" href="save.html">save</a></li>
<li class="toctree-l4"><a class="reference internal" href="set.html">set</a></li>
<li class="toctree-l4"><a class="reference internal" href="statusbar.html">statusbar</a></li>
<li class="toctree-l4"><a class="reference internal" href="toggle.html">toggle</a></li>
<li class="toctree-l4"><a class="reference internal" href="unalias.html">unalias</a></li>
<li class="toctree-l4"><a class="reference internal" href="unignore.html">unignore</a></li>
<li class="toctree-l4"><a class="reference internal" href="upgrade.html">upgrade</a></li>
</ul>
</li>
<li class="toctree-l3 current has-children"><a class="reference internal" href="cat_Misc.html">Misc</a><input checked="" class="toctree-checkbox" id="toctree-checkbox-10" name="toctree-checkbox-10" role="switch" type="checkbox"/><label for="toctree-checkbox-10"><div class="visually-hidden">Toggle child pages in navigation</div><i class="icon"><svg><use href="#svg-arrow-right"></use></svg></i></label><ul class="current">
<li class="toctree-l4"><a class="reference internal" href="beep.html">beep</a></li>
<li class="toctree-l4"><a class="reference internal" href="cat.html">cat</a></li>
<li class="toctree-l4"><a class="reference internal" href="cd.html">cd</a></li>
<li class="toctree-l4"><a class="reference internal" href="echo.html">echo</a></li>
<li class="toctree-l4"><a class="reference internal" href="eval.html">eval</a></li>
<li class="toctree-l4 current current-page"><a class="current reference internal" href="#">exec</a></li>
<li class="toctree-l4"><a class="reference internal" href="help.html">help</a></li>
<li class="toctree-l4"><a class="reference internal" href="load.html">load</a></li>
<li class="toctree-l4"><a class="reference internal" href="unload.html">unload</a></li>
<li class="toctree-l4"><a class="reference internal" href="uptime.html">uptime</a></li>
<li class="toctree-l4"><a class="reference internal" href="version.html">version</a></li>
</ul>
</li>
<li class="toctree-l3 has-children"><a class="reference internal" href="cat_IRC%20Commands.html">IRC Commands</a><input class="toctree-checkbox" id="toctree-checkbox-11" name="toctree-checkbox-11" role="switch" type="checkbox"/><label for="toctree-checkbox-11"><div class="visually-hidden">Toggle child pages in navigation</div><i class="icon"><svg><use href="#svg-arrow-right"></use></svg></i></label><ul>
<li class="toctree-l4"><a class="reference internal" href="accept.html">accept</a></li>
<li class="toctree-l4"><a class="reference internal" href="action.html">action</a></li>
<li class="toctree-l4"><a class="reference internal" href="admin.html">admin</a></li>
<li class="toctree-l4"><a class="reference internal" href="away.html">away</a></li>
<li class="toctree-l4"><a class="reference internal" href="ban.html">ban</a></li>
<li class="toctree-l4"><a class="reference internal" href="ctcp.html">ctcp</a></li>
<li class="toctree-l4"><a class="reference internal" href="dcc.html">dcc</a></li>
<li class="toctree-l4"><a class="reference internal" href="deop.html">deop</a></li>
<li class="toctree-l4"><a class="reference internal" href="devoice.html">devoice</a></li>
<li class="toctree-l4"><a class="reference internal" href="die.html">die</a></li>
<li class="toctree-l4"><a class="reference internal" href="hash.html">hash</a></li>
<li class="toctree-l4"><a class="reference internal" href="info.html">info</a></li>
<li class="toctree-l4"><a class="reference internal" href="invite.html">invite</a></li>
<li class="toctree-l4"><a class="reference internal" href="ison.html">ison</a></li>
<li class="toctree-l4"><a class="reference internal" href="kick.html">kick</a></li>
<li class="toctree-l4"><a class="reference internal" href="kickban.html">kickban</a></li>
<li class="toctree-l4"><a class="reference internal" href="kill.html">kill</a></li>
<li class="toctree-l4"><a class="reference internal" href="knock.html">knock</a></li>
<li class="toctree-l4"><a class="reference internal" href="knockout.html">knockout</a></li>
<li class="toctree-l4"><a class="reference internal" href="links.html">links</a></li>
<li class="toctree-l4"><a class="reference internal" href="list.html">list</a></li>
<li class="toctree-l4"><a class="reference internal" href="lusers.html">lusers</a></li>
<li class="toctree-l4"><a class="reference internal" href="map.html">map</a></li>
<li class="toctree-l4"><a class="reference internal" href="me.html">me</a></li>
<li class="toctree-l4"><a class="reference internal" href="mircdcc.html">mircdcc</a></li>
<li class="toctree-l4"><a class="reference internal" href="mode.html">mode</a></li>
<li class="toctree-l4"><a class="reference internal" href="motd.html">motd</a></li>
<li class="toctree-l4"><a class="reference internal" href="nctcp.html">nctcp</a></li>
<li class="toctree-l4"><a class="reference internal" href="netsplit.html">netsplit</a></li>
<li class="toctree-l4"><a class="reference internal" href="nick.html">nick</a></li>
<li class="toctree-l4"><a class="reference internal" href="notice.html">notice</a></li>
<li class="toctree-l4"><a class="reference internal" href="notify.html">notify</a></li>
<li class="toctree-l4"><a class="reference internal" href="op.html">op</a></li>
<li class="toctree-l4"><a class="reference internal" href="oper.html">oper</a></li>
<li class="toctree-l4"><a class="reference internal" href="part.html">part</a></li>
<li class="toctree-l4"><a class="reference internal" href="ping.html">ping</a></li>
<li class="toctree-l4"><a class="reference internal" href="quote.html">quote</a></li>
<li class="toctree-l4"><a class="reference internal" href="rehash.html">rehash</a></li>
<li class="toctree-l4"><a class="reference internal" href="restart.html">restart</a></li>
<li class="toctree-l4"><a class="reference internal" href="sconnect.html">sconnect</a></li>
<li class="toctree-l4"><a class="reference internal" href="servlist.html">servlist</a></li>
<li class="toctree-l4"><a class="reference internal" href="silence.html">silence</a></li>
<li class="toctree-l4"><a class="reference internal" href="squery.html">squery</a></li>
<li class="toctree-l4"><a class="reference internal" href="squit.html">squit</a></li>
<li class="toctree-l4"><a class="reference internal" href="stats.html">stats</a></li>
<li class="toctree-l4"><a class="reference internal" href="time.html">time</a></li>
<li class="toctree-l4"><a class="reference internal" href="topic.html">topic</a></li>
<li class="toctree-l4"><a class="reference internal" href="trace.html">trace</a></li>
<li class="toctree-l4"><a class="reference internal" href="ts.html">ts</a></li>
<li class="toctree-l4"><a class="reference internal" href="unban.html">unban</a></li>
<li class="toctree-l4"><a class="reference internal" href="unnotify.html">unnotify</a></li>
<li class="toctree-l4"><a class="reference internal" href="unsilence.html">unsilence</a></li>
<li class="toctree-l4"><a class="reference internal" href="userhost.html">userhost</a></li>
<li class="toctree-l4"><a class="reference internal" href="ver.html">ver</a></li>
<li class="toctree-l4"><a class="reference internal" href="voice.html">voice</a></li>
<li class="toctree-l4"><a class="reference internal" href="wait.html">wait</a></li>
<li class="toctree-l4"><a class="reference internal" href="wall.html">wall</a></li>
<li class="toctree-l4"><a class="reference internal" href="wallops.html">wallops</a></li>
<li class="toctree-l4"><a class="reference internal" href="who.html">who</a></li>
<li class="toctree-l4"><a class="reference internal" href="whois.html">whois</a></li>
<li class="toctree-l4"><a class="reference internal" href="whowas.html">whowas</a></li>
</ul>
</li>
<li class="toctree-l3 has-children"><a class="reference internal" href="cat_IRC%20Proxy.html">IRC Proxy</a><input class="toctree-checkbox" id="toctree-checkbox-12" name="toctree-checkbox-12" role="switch" type="checkbox"/><label for="toctree-checkbox-12"><div class="visually-hidden">Toggle child pages in navigation</div><i class="icon"><svg><use href="#svg-arrow-right"></use></svg></i></label><ul>
<li class="toctree-l4"><a class="reference internal" href="irssiproxy.html">irssiproxy</a></li>
</ul>
</li>
<li class="toctree-l3 has-children"><a class="reference internal" href="cat_Other%20pages.html">Other pages</a><input class="toctree-checkbox" id="toctree-checkbox-13" name="toctree-checkbox-13" role="switch" type="checkbox"/><label for="toctree-checkbox-13"><div class="visually-hidden">Toggle child pages in navigation</div><i class="icon"><svg><use href="#svg-arrow-right"></use></svg></i></label><ul>
<li class="toctree-l4"><a class="reference internal" href="flushbuffer.html">flushbuffer</a></li>
<li class="toctree-l4"><a class="reference internal" href="levels.html">levels</a></li>
<li class="toctree-l4"><a class="reference internal" href="otr.html">otr</a></li>
<li class="toctree-l4"><a class="reference internal" href="rmrejoins.html">rmrejoins</a></li>
<li class="toctree-l4"><a class="reference internal" href="script.html">script</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../settings.html">Settings</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference external" href="https://scripts.irssi.org/">Scripts</a></li>
<li class="toctree-l1"><a class="reference external" href="https://irssi.org/themes/">Themes</a></li>
<li class="toctree-l1"><a class="reference external" href="https://github.com/ailin-nemui/irssi">Source Code</a></li>
</ul>
</div>
</div>
</div>
</div>
</aside>
<div class="main">
<div class="content">
<div class="article-container">
<div class="content-icon-container">
<div class="theme-toggle-container theme-toggle-content">
<button class="theme-toggle">
<div class="visually-hidden">Toggle Light / Dark / Auto color theme</div>
<svg class="theme-icon-when-auto"><use href="#svg-sun-half"></use></svg>
<svg class="theme-icon-when-dark"><use href="#svg-moon"></use></svg>
<svg class="theme-icon-when-light"><use href="#svg-sun"></use></svg>
</button>
</div>
<label class="toc-overlay-icon toc-content-icon" for="__toc">
<div class="visually-hidden">Toggle table of contents sidebar</div>
<i class="icon"><svg><use href="#svg-toc"></use></svg></i>
</label>
</div>
<article role="main">
<section class="tex2jax_ignore mathjax_ignore" id="exec">
<h1>exec<a class="headerlink" href="#exec" title="Permalink to this headline"> </a></h1>
<!-- comment
Please submit changes to
- https://github.com/ailin-nemui/irssi/blob/master/docs/help/in/exec.in
- https://github.com/ailin-nemui/irssi/blob/master/src/fe-common/core/fe-exec.c
endcomment -->
<section id="syntax">
<h2>Syntax<a class="headerlink" href="#syntax" title="Permalink to this headline"> </a></h2>
<div class="irssisyntax highlight"><pre style="\-\-cmdlen:4ch"><code><span class="synB">EXEC</span> <span class="syn10">[<span class="syn">-</span>]</span> <span class="syn10">[<span class="syn">-nosh</span>]</span> <span class="syn10">[<span class="syn">-out</span> | <span class="syn">-msg</span> <span class="syn09">&lt;target&gt;</span> | <span class="syn">-notice</span> <span class="syn09">&lt;target&gt;</span>]</span> <span class="syn10">[<span class="syn">-name</span> <span class="syn09">&lt;name&gt;</span>]</span> <span class="synB05">&lt;cmd line&gt;</span></code></pre></div>
<div class="irssisyntax highlight"><pre style="\-\-cmdlen:4ch"><code><span class="synB">EXEC</span> <span class="synB">-out</span> | <span class="synB">-window</span> | <span class="synB">-msg</span> <span class="synB05">&lt;target&gt;</span> | <span class="synB">-notice</span> <span class="synB05">&lt;target&gt;</span> | <span class="synB">-close</span> | <span class="synB">-</span><span class="synB05">&lt;signal&gt;</span> <span class="synB">%</span><span class="synB05">&lt;id&gt;</span></code></pre></div>
<div class="irssisyntax highlight"><pre style="\-\-cmdlen:4ch"><code><span class="synB">EXEC</span> <span class="synB">-in</span> <span class="synB">%</span><span class="synB05">&lt;id&gt;</span> <span class="synB05">&lt;text to send to process&gt;</span></code></pre></div>
</section>
<section id="parameters">
<h2>Parameters<a class="headerlink" href="#parameters" title="Permalink to this headline"> </a></h2>
<div class="table-wrapper"><table class="colwidths-auto docutils align-default">
<thead>
<tr class="row-odd"><th class="head"><p></p></th>
<th class="head"><p></p></th>
</tr>
</thead>
<tbody>
<tr class="row-even"><td><p><code class="docutils literal notranslate"><span class="pre">-</span></code>:</p></td>
<td><p>Suppresses the process termination notification.</p></td>
</tr>
<tr class="row-odd"><td><p><code class="docutils literal notranslate"><span class="pre">-nosh</span></code>:</p></td>
<td><p>Doesnt execute the command through /bin/sh.</p></td>
</tr>
<tr class="row-even"><td><p><code class="docutils literal notranslate"><span class="pre">-out</span></code>:</p></td>
<td><p>Sends the output to the active channel or query.</p></td>
</tr>
<tr class="row-odd"><td><p><code class="docutils literal notranslate"><span class="pre">-msg</span></code>:</p></td>
<td><p>Sends the output to the specified nickname or channel.</p></td>
</tr>
<tr class="row-even"><td><p><code class="docutils literal notranslate"><span class="pre">-notice</span></code>:</p></td>
<td><p>Sends the output to the specified nickname or channel as notices.</p></td>
</tr>
<tr class="row-odd"><td><p><code class="docutils literal notranslate"><span class="pre">-name</span></code>:</p></td>
<td><p>Gives the process the specified name.</p></td>
</tr>
<tr class="row-even"><td><p><code class="docutils literal notranslate"><span class="pre">-window</span></code>:</p></td>
<td><p>Displays the output in the active window.</p></td>
</tr>
<tr class="row-odd"><td><p><code class="docutils literal notranslate"><span class="pre">-close</span></code>:</p></td>
<td><p>Forcibly closes a process that doesnt die.</p></td>
</tr>
<tr class="row-even"><td><p><code class="docutils literal notranslate"><span class="pre">-&lt;signal&gt;</span></code>:</p></td>
<td><p>Sends the given signal to the process.</p></td>
</tr>
<tr class="row-odd"><td><p><code class="docutils literal notranslate"><span class="pre">-in</span></code>:</p></td>
<td><p>Sends text to the standard input of the process.</p></td>
</tr>
<tr class="row-even"><td><p><code class="docutils literal notranslate"><span class="pre">-interactive</span></code>:</p></td>
<td><p>Executes the process in a new window item.</p></td>
</tr>
</tbody>
</table></div>
<p>The command to execute; if no output parameter is given, the active window
will be used and if no parameters are given at all, the list of active
processes will be displayed.</p>
</section>
<section id="description">
<h2>Description<a class="headerlink" href="#description" title="Permalink to this headline"> </a></h2>
<p>Executes the specified command in the background; the process can be
accessed by its id or the name you gave it.</p>
<p>The output of the process can be redirected to various targets, such as
a window, a channel, a nickname or a query.</p>
<p>The process identifier must always begin with the % character. For
example %0.</p>
<p>If you remove a process with the close parameter, it will only make Irssi
detach from it; the process will keep running until it terminates.</p>
</section>
<section id="examples">
<h2>Examples<a class="headerlink" href="#examples" title="Permalink to this headline"> </a></h2>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>/EXEC
/EXEC ls
/EXEC -msg #irssi cat unicorn.txt
/EXEC -out cat /etc/passwd | grep $USER | awk -F: '{print $5}'
/EXEC -name ssh -nosh -interactive -window ssh staff.irssi.org
/EXEC -close mailserver
/EXEC -close %0
</pre></div>
</div>
</section>
<section id="see-also">
<h2>See also<a class="headerlink" href="#see-also" title="Permalink to this headline"> </a></h2>
<p><a class="reference internal" href="cat.html"><span class="doc std std-doc">CAT</span></a>, <a class="reference internal" href="cd.html"><span class="doc std std-doc">CD</span></a>, <a class="reference internal" href="echo.html"><span class="doc std std-doc">ECHO</span></a>, <a class="reference internal" href="eval.html"><span class="doc std std-doc">EVAL</span></a></p>
</section>
</section>
</article>
</div>
<footer>
<div class="related-pages">
<a class="next-page" href="help.html">
<div class="page-info">
<div class="context">
<span>Next</span>
</div>
<div class="title">help</div>
</div>
<svg><use href="#svg-arrow-right"></use></svg>
</a>
<a class="prev-page" href="eval.html">
<svg><use href="#svg-arrow-right"></use></svg>
<div class="page-info">
<div class="context">
<span>Previous</span>
</div>
<div class="title">eval</div>
</div>
</a>
</div>
<div class="related-information">
Copyright &#169; |
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> and <a class="muted-link" href="https://pradyunsg.me">@pradyunsg</a>'s
<a href="https://github.com/pradyunsg/furo">Furo theme</a>.
| <a class="muted-link" href="../../_sources/documentation/help/exec.md.txt"
rel="nofollow">
Show Source
</a>
</div>
</footer>
</div>
<aside class="toc-drawer">
<div class="toc-sticky toc-scroll">
<div class="toc-title-container">
<span class="toc-title">
Contents
</span>
</div>
<div class="toc-tree-container">
<div class="toc-tree">
<ul>
<li><a class="reference internal" href="#">exec</a><ul>
<li><a class="reference internal" href="#syntax">Syntax</a></li>
<li><a class="reference internal" href="#parameters">Parameters</a></li>
<li><a class="reference internal" href="#description">Description</a></li>
<li><a class="reference internal" href="#examples">Examples</a></li>
<li><a class="reference internal" href="#see-also">See also</a></li>
</ul>
</li>
</ul>
</div>
</div>
</div>
</aside>
</div>
</div><script data-url_root="../../" id="documentation_options" src="../../_static/documentation_options.js"></script>
<script src="../../_static/jquery.js"></script>
<script src="../../_static/underscore.js"></script>
<script src="../../_static/doctools.js"></script>
<script src="../../_static/scripts/furo.js"></script>
</body>
</html>