Skip to content

Commit c63f91c

Browse files
committed
stubbed out libvcs.utils.subprocess
1 parent 9df458e commit c63f91c

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

libvcs/utils/subprocess.py

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
import subprocess
2+
from dataclasses import dataclass
3+
from typing import Any, Callable, Generic, TypeVar
4+
5+
F = TypeVar("F", bound=Callable[..., Any])
6+
7+
8+
class copy_signature(Generic[F]):
9+
def __init__(self, target: F) -> None:
10+
...
11+
12+
def __call__(self, wrapped: Callable[..., Any]) -> F:
13+
...
14+
15+
16+
@dataclass
17+
class SubprocessCommand(subprocess.Popen):
18+
"""Dataclass of a command to execute"""
19+
20+
def __init__(self, *args, **kwargs):
21+
return
22+
23+
24+
myprocess = SubprocessCommand()

0 commit comments

Comments
 (0)