summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/io/qprocess/testProcessSpacesArgs/main.cpp
blob: c04c7171d5ffedc3a8437e5085437df0e666c192 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0


#include <stdio.h>

int main(int argc, char ** argv)
{
    for (int i = 0; i < argc; ++i) {
        if (i)
            printf("|");
        printf("%s", argv[i]);
    }
    return 0;
}