[ET Trac] [Einstein Toolkit] #174: Remove cd semaphore from GetComponents

Einstein Toolkit trac-noreply at einsteintoolkit.org
Tue Dec 28 12:05:32 CST 2010

#174: Remove cd semaphore from GetComponents
  Reporter:  eschnett       |       Owner:  eric9   
      Type:  defect         |      Status:  accepted
  Priority:  major          |   Milestone:          
 Component:  GetComponents  |     Version:          
Resolution:                 |    Keywords:          

Comment (by eschnett):

 You don't need a subshell for this, a subprocess is good enough. Any time
 you call system() or popen(), there will automatically be a subprocess
 created; whether the executed command is wrapped in a shell or not does
 not matter. That is, the example I gave above is good enough -- there is
 no need to explicitly call a shell.

Ticket URL: <https://trac.einsteintoolkit.org/ticket/174#comment:4>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit

More information about the Trac mailing list