Merge pull request #2710 from psychon/dont_recommend_popen
Do not recommend io.popen()
This commit is contained in:
commit
998435c055
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue