title: How to link Fred's Magick Script TextCleaner with XCode Project
body: <p>I decided to rephrase the question. Here is the problem: </p>
  
  <p>I've managed to run textcleaner.exe within my c++ program by calling: 
  system("/usr/local/bin/textcleaner g -e normalize -f 25 -o 10 [path to infile] [path to outfile]");</p>
  
  <p>But now I get the error: </p>
  
  <p><strong>/usr/local/bin/textcleaner: line 389: convert: command not found</strong></p>
  
  <p>/usr/local/bin/textcleaner: line 400: [: : integer expression expected</p>
  
  <p>/usr/local/bin/textcleaner: line 403: convert: command not found</p>
  
  <p>/usr/local/bin/textcleaner: line 417: [: : integer expression expected</p>
  
  <p>/usr/local/bin/textcleaner: line 423: [: : integer expression expected</p>
  
  <p>/usr/local/bin/textcleaner: line 429: convert: command not found</p>
  
  <p><strong>--- FILE /Users/~/Desktop/kimlik/kimlik1.bmp NOT READABLE OR HAS ZERO SIZE ---</strong></p>
  
  <p>So what is the problem here? I am giving a correct image with the right path, so I think instead of the last line, the problem lies with the convert command within textcleaner.exe.  How can I call textcleaner.exe and convert.exe at the same time s<strong>o that when running the textcleaner.exe, it knows what command convert is?</strong> </p>