Ninja
Functions
browse.cc File Reference
#include "browse.h"
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include "../build/browse_py.h"
Include dependency graph for browse.cc:

Go to the source code of this file.

Functions

void RunBrowsePython (State *state, const char *ninja_command, const char *initial_target)
 Run in "browse" mode, which execs a Python webserver. More...
 

Function Documentation

void RunBrowsePython ( State state,
const char *  ninja_command,
const char *  initial_target 
)

Run in "browse" mode, which execs a Python webserver.

ninja_command is the command used to invoke ninja. initial_target is the first target to load. This function does not return if it runs successfully.

Definition at line 23 of file browse.cc.