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 | a207604826d5b4eb1a230adc2c201fdc478b2678 (patch) | |
tree | 65af79b53ef392e8ddaff2c09ad22f47dccfffb6 /works/life/linux-run/linux-run-test-bin.cpp | |
parent | 82ca9e11965bce800ed5d500ab9c7dbc9ac3aa77 (diff) | |
download | crupest-a207604826d5b4eb1a230adc2c201fdc478b2678.tar.gz crupest-a207604826d5b4eb1a230adc2c201fdc478b2678.tar.bz2 crupest-a207604826d5b4eb1a230adc2c201fdc478b2678.zip |
import(life): Add linux-run.
Diffstat (limited to 'works/life/linux-run/linux-run-test-bin.cpp')
-rw-r--r-- | works/life/linux-run/linux-run-test-bin.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/works/life/linux-run/linux-run-test-bin.cpp b/works/life/linux-run/linux-run-test-bin.cpp new file mode 100644 index 0000000..3f7bd94 --- /dev/null +++ b/works/life/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; +} |