Welcome to iraf.net Saturday, May 11 2024 @ 11:00 AM GMT
dbrenner |
11/20/2009 08:40PM (Read 2224 times)
|
|
|
Status: offline
Registered: 05/05/2006
Posts: 115
|
I know the basics of calling scripts from c. What I want to know is if I can return a parameter to the calling program.Thanks
|
|
|
|
fitz |
11/20/2009 08:40PM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
Not easily. Your best bet is to write a small wrapper script for the task and have it write the result to a file you then read from the C program. Tasks which update their parameters do so by talking to the CL which manages the parameters/uparm directory, there is no easy interface that replicates this functionality from plain C code.-Mike
|
|
|
|
| |
|
Content generated in: 0.08 seconds |
|