I want to run a python application in my Rails server with ActiveJob, but how can I transfer words that python application output to command line to around_perform in perform? I need to get result from the python application in around_perform.
  def perform(argument)
    cmd = "python3 " + argument + "/main.py "
    system cmd
  end
  private
  around_perform do |job, block|
    block.call
    puts "ActiveJob Done"
  end
 
     
    