Functions | 
| FILE *  | gfs_popen (GfsSimulation *sim, const char *command, const char *type) | 
Detailed Description
Executing a shell-script at given times. 
- See also:
 
Syntax reference 
Function Documentation
      
        
          | FILE* gfs_popen  | 
          ( | 
          GfsSimulation *  | 
          sim,  | 
        
        
           | 
           | 
          const char *  | 
          command,  | 
        
        
           | 
           | 
          const char *  | 
          type  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
- Parameters:
 - 
  
    | sim | a #GfsSimulation.  | 
    | command | a shell command.  | 
    | type | "r" for reading or "w" for writing. | 
  
   
- Returns:
 - a file descriptor pointing to a pipe opened using the standard popen() command but which also defines standard Gerris shell variables. In case of error returns NULL.