Welcome to iraf.net Saturday, May 11 2024 @ 11:00 AM GMT


 Forum Index > Help Desk > Systems New Topic Post Reply
 calling iraf from c
   
dbrenner
 11/20/2009 08:40PM (Read 2224 times)  
++++-
Regular Member

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

 
Profile Email
 Quote
fitz
 11/20/2009 08:40PM  
AAAAA
Admin

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

 
Profile Email
 Quote
   
Content generated in: 0.08 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content 
dog allergies remedies cialis 20 mg chilblain remedies


Privacy Policy
Terms of Use

User Functions

Login