Search Results

Search: Posts Made By: swasid
Forum: Programming 07-12-2010
19,701
Posted By swasid
thanks for the clarification pludi. so, does...
thanks for the clarification pludi. so, does popen only take a command or can an entire script be passed in. can you show me how my test script fits in your example please?
Forum: Programming 07-12-2010
19,701
Posted By swasid
Hi Gaurav, below is the system call that I...
Hi Gaurav,

below is the system call that I have used to call my shell script named "test"

#include <stdio.h>
#include <stdlib.h>

int main()
{

int i;

i=system("./test 1234");...
Forum: Programming 07-09-2010
19,701
Posted By swasid
Hi pludi, can you show me how it's done with...
Hi pludi,

can you show me how it's done with a sample snippet please?
Forum: Programming 07-09-2010
19,701
Posted By swasid
Calling a shell script from a C program
Hi,

I have a shell script which connects to a database and fetches the count of the records from a table. I want to embed this whole script in a C program. Also the count fetched should be...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 11:08 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy