Skip to content

Commit

Permalink
no longer writing into pid file on *nix since we dont need it anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
mosabua committed Sep 7, 2011
1 parent 777b016 commit c3eb244
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -261,8 +261,7 @@ private String writeEmulatorStartScriptWindows() throws MojoExecutionException {
}

/**
* Writes the script to start the emulator in the background for unix based environments and write process id into
* pidfile.
* Writes the script to start the emulator in the background for unix based environments.
*
* @return absolute path name of start script
* @throws IOException
Expand All @@ -287,8 +286,6 @@ private String writeEmulatorStartScriptUnix() throws MojoExecutionException {
writer.println("#!" + sh.getAbsolutePath());
writer.print(assembleStartCommandLine());
writer.print(" 1>/dev/null 2>&1 &"); // redirect outputs and run as background task
writer.println();
writer.println("echo $! > " + pidFileName); // process id from stdout into pid file
} catch (IOException e) {
getLog().error("Failure writing file " + filename);
} finally {
Expand Down

0 comments on commit c3eb244

Please sign in to comment.