Deleted Added
sdiff udiff text old ( 3005:ceb86e85d62d ) new ( 3066:254e37051d65 )
full compact
1/*
2 * Copyright (c) 2001-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 446 unchanged lines hidden (view full) ---

455BEGIN_DECLARE_SIM_OBJECT_PARAMS(LiveProcess)
456
457 VectorParam<string> cmd;
458 Param<string> executable;
459 Param<string> input;
460 Param<string> output;
461 VectorParam<string> env;
462 SimObjectParam<System *> system;
463
464END_DECLARE_SIM_OBJECT_PARAMS(LiveProcess)
465
466
467BEGIN_INIT_SIM_OBJECT_PARAMS(LiveProcess)
468
469 INIT_PARAM(cmd, "command line (executable plus arguments)"),
470 INIT_PARAM(executable, "executable (overrides cmd[0] if set)"),
471 INIT_PARAM(input, "filename for stdin (dflt: use sim stdin)"),
472 INIT_PARAM(output, "filename for stdout/stderr (dflt: use sim stdout)"),
473 INIT_PARAM(env, "environment settings"),
474 INIT_PARAM(system, "system")
475
476END_INIT_SIM_OBJECT_PARAMS(LiveProcess)
477
478
479CREATE_SIM_OBJECT(LiveProcess)
480{
481 string in = input;
482 string out = output;

--- 26 unchanged lines hidden ---