den_RDC wrote:
> Changing the cwd is not hard (os.chdir() does this). But theres a real hard 
> catch to this, it changes the cwd of the parent process too, even when 
> executed in a thread. 

Ouch, that's evil.

> 2 - Put the frameno.avi in freevo's cwd (not changing it ofcourse). Very 
> nasty, we don't even know if it's writable or if there is sufficient 
> diskspace (and if there is we could be flooding the root fs, wich also 
> classifies as nasty)

Bad idea, like you said, maybe you can't write the dir. 

> 3 - Find a way to do a cwd in a child without changing the parent cwd. My only 
> idea left to do this is to execute a shell interpreter and executing a "cd 
> /whatever" before executing mencoder. Also not very clean, makes it hard to 
> detect wheter mencoder finished (i presume the shell will stay alive), and 
> probably raises a ton of other potential issues.

What about make a shell script or python (whatever), that does the
whole dvd backup stuff (search with google, there are some). Add a cd
to a temp dir at the beginning and start this script. You don't need
to do the stuff all inside Freevo.

> 4 - No dvdbackup :(

Bad idea :-)



Dischi

-- 
If you receive something that says 'Send this to everyone you know,'
pretend you don't know me. (Roy Johnson)


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to