PDA

View Full Version : rtmpdump fails when run as windows system user


michaeldjcox
09-14-2014, 12:36 PM
Get_iplayer uses rtmpdump.

It works fine when run as a regular user.

When i try and call it from a service running as SYSTEM in windows 7 by spawning cmd.exe it fails with

Command exit code 255 (raw code = 65280)

I've tried running with verbose and debug on but can find nothing to explain the exit

Has anyone else experienced this?

Michael

michaeldjcox
09-17-2014, 12:41 PM
Found the answer.

Rtmpdump needs HOMEDRIVE and HOMEPATH environment variables to be defined.

For normal users they are but for local system user they are not.

I just chose a directory to use set the variables and everything worked.

Michael