diff options
| author | ruki <[email protected]> | 2024-01-26 23:50:30 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-01-26 23:50:30 +0800 |
| commit | 9d01da2a9127f8400e231cfc38e80fa7320b6ef0 (patch) | |
| tree | ed3f44ee6961ed70759beda21d78a65b756b85ef /xmake/modules/private/utils/completer.lua | |
| parent | 042362f4c3f1dab8b6b5a32fcbbae20e66e224de (diff) | |
remove PATH in xmake
Diffstat (limited to 'xmake/modules/private/utils/completer.lua')
| -rw-r--r-- | xmake/modules/private/utils/completer.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/private/utils/completer.lua b/xmake/modules/private/utils/completer.lua index 3dc014227..f205ba865 100644 --- a/xmake/modules/private/utils/completer.lua +++ b/xmake/modules/private/utils/completer.lua @@ -272,7 +272,7 @@ function completer:_complete_option(options, segs, completing) if current_options.project then table.insert(args, 2, "--project=" .. current_options.project) end - os.execv("xmake", args) + os.execv(os.programfile(), args) return true end |
