apache / apache/celix

Pass (argc, argv) in Shell interface

Open
#499 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
193
Forks
99
Avg merge
1m
Merged PRs (30d)
1

Description

The main advantages of using `(argc, argv)` over a single string `CommandLine` are:

* Avoid all the hassle of strdup/strtok.
* Deal with command line argument containing white spaces correctly.
* Make integrating with 3rd party library wuch as https://github.com/argtable/argtable3 easier.

_Originally posted by @PengZheng in https://github.com/apache/celix/pull/476#discussion_r1111655952_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.