I've application on certain pc & I want only that pc to execute it,so I've thought about getting a unique identifier (e.g. processor id ) using c# .
Problems :
I know that solution isn't usable...
Type: Posts; User: Buggaya
I've application on certain pc & I want only that pc to execute it,so I've thought about getting a unique identifier (e.g. processor id ) using c# .
Problems :
I know that solution isn't usable...
The onlu modification i've made is that
char *p[]={"/opt/gnome/bin/gedit","/home/knoppix/Desktop/file.c"}; /* array of strings */
I've that :
foo no such file or directory.
Is that path...
Frankly I've no idea what's that.
I've made some modification on your program but still doesn't work.
What's the wrong in that??
#include <stdio.h>
#include <unistd.h>
#include <sys/types.h>...
I,ve made one modification on your program fnoyan,that is I enter the path of the program rather than the browser path
but i 've smth error in the 2nd parameter of execv
#include...
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
int main()
{
char path[30];
printf("Enter the path of program which you want to execute");
scanf("%s",path);
If you please ,simple example will be very useful
The program now runs but if I want the user to enter the path of the prgram he wants to execute then send signal to it .
I think that i'll use execv(),is that true,but ican't understand the second...
How can i do it ??
I use system("ls -i"); //so how can I have control on it
I want to make aprogram that Sends specific signal depending on specific conditions.
It means all signals(e.g. kill,etc...) must be shown to the user then he'll choose one of them to be activated.
...
I'm begginer in using c ( platform of linux)
the problem is that idon't know name of function that ineed
First Iwant to make simple applications to be able to go through it step by step
Can any...