2021-07-06 21:52:19 +03:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2021, the SerenityOS developers.
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
|
|
*/
|
|
|
|
|
2022-12-04 21:02:33 +03:00
|
|
|
#include <AK/DeprecatedString.h>
|
2021-12-24 19:21:09 +03:00
|
|
|
#include <AK/Format.h>
|
|
|
|
#include <LibCore/System.h>
|
|
|
|
#include <LibMain/Main.h>
|
2021-07-06 21:52:19 +03:00
|
|
|
|
2021-12-24 19:21:09 +03:00
|
|
|
ErrorOr<int> serenity_main(Main::Arguments)
|
2021-07-06 21:52:19 +03:00
|
|
|
{
|
2022-01-21 21:30:56 +03:00
|
|
|
TRY(Core::System::pledge("rpath stdio"));
|
2021-12-24 19:21:09 +03:00
|
|
|
outln(TRY(Core::System::getcwd()));
|
2021-07-06 21:52:19 +03:00
|
|
|
return 0;
|
|
|
|
}
|