Merge pull request #2710 from psychon/dont_recommend_popen

Do not recommend io.popen()
This commit is contained in:
Daniel Hahler 2019-02-27 11:46:36 +01:00 committed by GitHub
commit 998435c055
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ util.spawn_with_shell = function(...)
end end
util.pread = function() util.pread = function()
gdebug.deprecate("Use io.popen() directly or look at awful.spawn.easy_async() " gdebug.deprecate("Use awful.spawn.easy_async() "
.. "for an asynchronous alternative", {deprecated_in=4}) .. "for an asynchronous alternative", {deprecated_in=4})
return "" return ""
end end