Package org.jboss.fresh.shell

Examples of org.jboss.fresh.shell.EnvProperties


    this.interactive = interactive;
    uid = id;
    this.uctx = uctx;
    sshell = sysshell;
    this.vfs = vfs;
    props = new EnvProperties(System.getProperties());
    // I don't really see when shellin would be of any use.
    //shellin=new BufferImpl();
    //shellin.setMaxSize(STD_BUF_SIZE);

    if (interactive) {
View Full Code Here


  private void setupEnv(Cmd cmd, Process p) throws ShellException {
    Map enviro = cmd.getEnvironment();
    if(enviro != null) {
      Iterator eit = enviro.entrySet().iterator();
      EnvProperties penv = p.getEnv();
      while(eit.hasNext()) {
        Map.Entry ent = (Map.Entry) eit.next();
        penv.setEnvProperty((String) ent.getKey(), (String) ent.getValue());
      }
    }
  }
View Full Code Here

TOP

Related Classes of org.jboss.fresh.shell.EnvProperties

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.