Home | History | Annotate | Download | only in lit

Lines Matching refs:Command

5 from lit.ShCommands import Command, Pipeline, Seq
191 raise ValueError("empty command!")
204 # If this is an argument, just add it to the current command.
221 return Command(args, redirects)
291 Pipeline([Command(['echo', 'hello'], [])], False))
293 Pipeline([Command(['echo', ''], [])], False))
295 Pipeline([Command(['echo', '-DFOO=a'], [])], False))
297 Pipeline([Command(['echo', '-DFOO=a'], [])], False))
301 Pipeline([Command(['echo', 'hello'],
304 Pipeline([Command(['echo', 'hello'], [(('>',), 'c'),
307 Pipeline([Command(['a'], [(('>&',2), '1')])], False))
311 Pipeline([Command(['a'], []),
312 Command(['b'], [])],
316 Pipeline([Command(['a'], []),
317 Command(['b'], []),
318 Command(['c'], [])],
323 Seq(Pipeline([Command(['a'], [])], False),
325 Pipeline([Command(['b'], [])], False)))
328 Seq(Pipeline([Command(['a'], [])], False),
330 Pipeline([Command(['b'], [])], False)))
333 Seq(Pipeline([Command(['a'], [])], False),
335 Pipeline([Command(['b'], [])], False)))
338 Seq(Pipeline([Command(['a'], [])], False),
340 Pipeline([Command(['b'], [])], False)))
343 Seq(Seq(Pipeline([Command(['a'], [])], False),
345 Pipeline([Command(['b'], [])], False)),
347 Pipeline([Command(['c'], [])], False)))
350 Seq(Pipeline([Command(['a'], [])], False),
352 Pipeline([Command(['b'], [])], False)))