Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix target run with single arguments #3240

Merged
merged 2 commits into from
Jan 5, 2023
Merged

Conversation

star-hengxing
Copy link
Contributor

When set_runargs only set single arguments, args type is string, os.execv only accepts the table type.

set_runargs("-xxx")
xmake r
❗ error: ...mdir\core\sandbox\modules\import\core\base\scheduler.lua:56: invalid argv type(string) for process.openv

@waruqi waruqi merged commit a16ce4a into xmake-io:dev Jan 5, 2023
@star-hengxing star-hengxing deleted the set_runargs branch April 21, 2024 02:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants