def start(detached = false)
      return @pid if running?

      detached ? @deamon = true : setup_traps

      @pid = RUBY_VERSION >= '1.9' ? process_spawn(detached) : process_spawn_ruby_1_8(detached)
    end
def start(detached = false)
      return @pid if running?

      detached ? @deamon = true : setup_traps

      @pid = RUBY_VERSION >= '1.9' ? process_spawn(detached) : process_spawn_ruby_1_8(detached)
    end
Starts a VLC instance in a subprocess

 @param [Boolean] detached if true VLC will be started as a deamon process.
                     Defaults to false.

 @return [Integer] the subprocess PID

 @see #daemonize