Generally it is hard to run the commands manually with the correct set
of environment variables which only happen after a login. Using "su" is
not enough - you have to login as the user which runs Sc.

The following is a better idea.  When a proicess is started, the outout
of the fork is saved, processed and then deleted.  The following code
stops the files being deleted.

In Fork.pm - comment out the unlink command which delete the files as
follows by adding the "#"s in col. 1

Code:
--------------------
    
  
  $log->debug("Deleting Bat and output files ". $self->{forkout});
  #                unlink $self->{forkout};
  #                if ($self->{batfile}) { unlink $self->{batfile}; } ;
  
--------------------


Restart SC after code change.

After a test the output files of each fork are in the cache directory
(/volume1/Squeezecenter/Cache ?)  called Forkoutputnn.txt.  Check before
and after the runs to see which are the new log files.  Have a look at
the contents to see what messages have been saved.


-- 
bpa
------------------------------------------------------------------------
bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=47288

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to