diff options
author | crupest <crupest@outlook.com> | 2023-02-06 00:09:57 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2023-02-06 00:09:57 +0800 |
commit | 7d41d457fe6e7433df030b4e5a3ae59093ad929d (patch) | |
tree | 1e510ac24115aec82521f4acb6fec20df256feb3 /linux-run/linux-run-test-bin.cpp | |
parent | 65267139ce50b4b52f934b9750e5e4f718c538e6 (diff) | |
download | life-7d41d457fe6e7433df030b4e5a3ae59093ad929d.tar.gz life-7d41d457fe6e7433df030b4e5a3ae59093ad929d.tar.bz2 life-7d41d457fe6e7433df030b4e5a3ae59093ad929d.zip |
Add linux-run.
Diffstat (limited to 'linux-run/linux-run-test-bin.cpp')
-rw-r--r-- | linux-run/linux-run-test-bin.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/linux-run/linux-run-test-bin.cpp b/linux-run/linux-run-test-bin.cpp new file mode 100644 index 0000000..3f7bd94 --- /dev/null +++ b/linux-run/linux-run-test-bin.cpp @@ -0,0 +1,8 @@ +#include <iostream> +#include <unistd.h> + +int main() { + sleep(5); + std::cout << "Hello world!\n"; + return 0; +} |