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