Skip to content

Instantly share code, notes, and snippets.

@bmcculley
Created April 19, 2020 15:12
Show Gist options
  • Save bmcculley/efd12bc573120e0c6c75e2b0e86b5a9a to your computer and use it in GitHub Desktop.
Save bmcculley/efd12bc573120e0c6c75e2b0e86b5a9a to your computer and use it in GitHub Desktop.
A quick test for my answer here https://stackoverflow.com/a/61175504/1585957
#include <iostream>
#include <thread>
#include <chrono>
using namespace std;
int main(int argc, char const *argv[])
{
cout << "Hello, world";
this_thread::sleep_for (chrono::seconds(5));
cerr << "this is an error";
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment