Skip to content

How to run a instance command in background? #64

@al3x609

Description

@al3x609

Expected Behavior

by example, without spython
this executes the %runscript in my container with args

$singularity instance.run image.img --nv test
$singularity run instance://test [args...]

it release the terminal..waiting for more commands
$

Actual Behavior

the terminal in python is not released after running a command on an instance.

Steps to Reproduce

>>>from spython.main import Client as cl
>>>my= cl.instances('test')
>>>cl.run(my,[..args..])

Context

  • Operating System: centos 7.5
  • singularity version: latest
  • spython version: latest git
  • python version: 3.7

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions