Repository navigation
Exec Command
The /exec command runs a local shell command on your machine and sends the first non-empty line of stdout to the current buffer.
Warning
Enable /exec only if you trust the commands you plan to run. See buffer command configuration.
Examples for Unix-like systems:
/exec printf '/me is on %s using %s' "$(hostname)" "$(uname -srm)"
Example random roll:
/exec printf '/me rolls %s (1-6)' "$((RANDOM % 6 + 1))"
Since the output is sent back into the input buffer, starting the line with /me or another IRC command can be useful.
/exec also works well together with aliases. For commands you use often, an alias can save you from retyping the full shell command each time.
Woggle: moderation IRC client for ScoutLink chanops, based on Halloy · Not an official ScoutLink product (logo usage) · Found a mistake? Open an issue or edit the page.
English · Norsk · Dansk · Svenska
Woggle
Getting started
Configuration
- Inclusion/Exclusion Conditions
- Actions
- Buffer
- Channel Monitor
- Check for Update on Launch
- Commands
- Config Editor
- Context Menu
- CTCP
- Display
- File Transfer
- File Upload
- Font
- Highlights
- Keyboard
- Logs
- Metadata
- Notifications
- Pane
- Platform Specific
- Preview
- Proxy
- Runtime
- Scale factor
- Servers
- Sidebar
- Themes
- Tooltips
- Window
Guides
- Building for Flatpak
- Building for macOS
- Connect with soju
- Connect with ZNC
- TLS Troubleshooting
- Command Line
- Custom Themes
- Exec Command
- Example Server Configurations
- Monitor Users
- Multiple Servers
- Optional Features
- Portable Mode
- Pronunciation
- Reduce Noise
- Single Pane
- Storing Passwords in a File
- Storing Passwords in the System Keyring
- File Uploads
- Internal Buffers
- Unix Signals
- Text Formatting
- URL Schemes
- Flatpak Tips