in reply to trouble with system calls
svm_classify is a program that produces an output file named svm_predictions. after my system call, i want to read the content of svm_predictions and assign it to the array named values. however, when I check the directory, svm_predictions does not exist... I made sure that the directory has the right permissions...thanks a lot!chdir("/home/code/"); system("svm_classify zkereigenout.dat svmmodel.mod"); open(IN,"<svm_predictions"); @values = <IN>; close(IN);
janitored by ybiC: Reparented this (originally root) node into prior thread on same topic/question by same OP, and retitled accordingly
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: (2) trouble with system calls
by Zaxo (Archbishop) on Feb 10, 2004 at 07:56 UTC | |
|
Re: (2) trouble with system calls
by borisz (Canon) on Feb 10, 2004 at 09:39 UTC | |
|
Re: (2) trouble with system calls
by chimni (Pilgrim) on Feb 10, 2004 at 10:19 UTC |