From ffca87563356b315943ad434dd043025b913c00a Mon Sep 17 00:00:00 2001 From: Caleb Maclennan Date: Tue, 6 Jun 2017 01:55:11 +0300 Subject: [PATCH] Add aweful.util.pread() so API docs have deprication notice (#1502) * Add awful.util.pread() so API docs have deprication notice * Update util.lua * Update util.lua * Update util.lua --- lib/awful/util.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/awful/util.lua b/lib/awful/util.lua index f8edf545..282084f1 100644 --- a/lib/awful/util.lua +++ b/lib/awful/util.lua @@ -33,6 +33,11 @@ util.table = {} --- The default shell used when spawing processes. util.shell = os.getenv("SHELL") or "/bin/sh" +--- Execute a system command and road the output. +-- This function implementation **has been removed** and no longer +-- do anything. Use `awful.spawn.easy_async`. +-- @deprecated awful.util.pread + --- Display a deprecation notice, but only once per traceback. -- @deprecated deprecate -- @param[opt] see The message to a new method / function to use.