diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/luarocks/fs/unix/tools.lua | 2 | ||||
| -rw-r--r-- | src/luarocks/fs/win32/tools.lua | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/luarocks/fs/unix/tools.lua b/src/luarocks/fs/unix/tools.lua index 91ea86c5..7535d679 100644 --- a/src/luarocks/fs/unix/tools.lua +++ b/src/luarocks/fs/unix/tools.lua | |||
| @@ -343,5 +343,5 @@ function get_permissions(filename) | |||
| 343 | end | 343 | end |
| 344 | 344 | ||
| 345 | function browser(url) | 345 | function browser(url) |
| 346 | return os.execute(cfg.web_browser..' '..url) | 346 | return fs.execute(cfg.web_browser, url) |
| 347 | end | 347 | end |
diff --git a/src/luarocks/fs/win32/tools.lua b/src/luarocks/fs/win32/tools.lua index e18ae58e..abbcd844 100644 --- a/src/luarocks/fs/win32/tools.lua +++ b/src/luarocks/fs/win32/tools.lua | |||
| @@ -364,5 +364,5 @@ function exists(file) | |||
| 364 | end | 364 | end |
| 365 | 365 | ||
| 366 | function browser(url) | 366 | function browser(url) |
| 367 | return os.execute(cfg.web_browser..' '..url) | 367 | return fs.execute(cfg.web_browser, url) |
| 368 | end | 368 | end |
