summaryrefslogtreecommitdiff
path: root/applications/init/source/main.cpp
blob: 5dfa81a557e42ef766304c1f69796991768837b2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include <euler/start_process.hpp>

int main(int, char **) {

  __euler_process_handle dummy;

  euler::start_process wm_process("/bin/compositor");
  wm_process.add_env_variable("ARGC", "1");
  wm_process.add_env_variable("ARGV0", "/bin/compositor");
  wm_process.start(dummy);

  euler::start_process hello_process("/bin/hello");
  hello_process.add_env_variable("ARGC", "1");
  hello_process.add_env_variable("ARGV0", "/bin/hello");
  hello_process.start(dummy);

  return 0;

}